diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-06 15:55:18 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-06 15:55:18 +0200 |
| commit | aca5e2205b4dd18a13706c725daa0f326e10000b (patch) | |
| tree | bfeef0f3bdae9c59cc327c8c0abd308530fa8571 /internal | |
| parent | a9f4fbbc3a18585c127d1640cdb627ff56328294 (diff) | |
fix: preserve error chains in tracepoint attach (task 384)
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/ior.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ior.go b/internal/ior.go index b5f9091..ee0663e 100644 --- a/internal/ior.go +++ b/internal/ior.go @@ -98,7 +98,7 @@ func attachTracepointsWith(module tracepointModule, shouldAttach func(string) bo prog, err := module.getProgram(fmt.Sprintf("handle_%s", name)) if err != nil { - return fmt.Errorf("Failed to get BPF program handle_%s: %v", name, err) + return fmt.Errorf("failed to get BPF program handle_%s: %w", name, err) } logln("Attached prog handle_", name) |
