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 <oliverpowell84@gmail.com>
  • Loading branch information
costela and greywolve committed Jul 10, 2024
1 parent 57e7c35 commit 49e1741
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 49e1741

Please sign in to comment.