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 authored Nov 8, 2023
1 parent d8a5714 commit 27db82c
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 27db82c

Please sign in to comment.