Skip to content

Commit

Permalink
fix: report correct option in error
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Powell <[email protected]>
  • Loading branch information
costela and greywolve committed Jul 9, 2024
1 parent 217e15d commit 2e505ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func NewClient(options ClientOptions) (*Client, error) {
options.Instrumenter = "sentry"
case "sentry", "otel": // noop
default:
return nil, fmt.Errorf("invalid value for TracesInstrumenter (supported are 'sentry' and 'otel'): %q", options.Instrumenter)
return nil, fmt.Errorf("invalid value for Instrumenter (supported are 'sentry' and 'otel'): %q", options.Instrumenter)
}

// SENTRYGODEBUG is a comma-separated list of key=value pairs (similar
Expand Down

0 comments on commit 2e505ec

Please sign in to comment.