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 Dec 18, 2023
1 parent 6f693b1 commit befd5e5
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 befd5e5

Please sign in to comment.