diff --git a/go/cli/mcap/cmd/filter.go b/go/cli/mcap/cmd/filter.go index 6d6a2c2e2..2ed4d0999 100644 --- a/go/cli/mcap/cmd/filter.go +++ b/go/cli/mcap/cmd/filter.go @@ -257,7 +257,7 @@ func filter( defer func() { err := mcapWriter.Close() if err != nil { - fmt.Fprintf(os.Stderr, "failed to close mcap writer: %w\n", err) + fmt.Fprintf(os.Stderr, "failed to close mcap writer: %v\n", err) return } if opts.recover {