Skip to content

Commit

Permalink
Fix “printf: non-constant format string in call to fmt.Errorf”
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Aug 16, 2024
1 parent 51aff9a commit 26dd3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion potal/internal/potalhttp/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ func SendRequest(ctx context.Context, e event.PotalEvent) error {
})
hub.CaptureMessage(msg)

return fmt.Errorf(msg)
return fmt.Errorf("%s", msg)
}

0 comments on commit 26dd3b2

Please sign in to comment.