Skip to content

Commit

Permalink
perflib: enrich error message (#1460)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke authored May 3, 2024
1 parent 7d8cf59 commit a2fe96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/perflib/perflib.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func QueryPerformanceData(query string) ([]*PerfObject, error) {
err = header.BinaryReadFrom(r)

if err != nil {
return nil, err
return nil, fmt.Errorf("failed to read performance data block for %q with: %w", query, err)
}

// Check for "PERF" signature
Expand Down

0 comments on commit a2fe96f

Please sign in to comment.