enhancementhelp wantedkeep-open
仓库指标
- Star
- (3,725 star)
- PR 合并指标
- (PR 指标待抓取)
描述
Feature Request
SDK implementations MUST allow end users to change the library's default error handling behavior for relevant errors.
Application developers may want to run with strict error handling in a staging environment to catch invalid uses of the API, or malformed config.
Note that configuring a custom error handler in this way is the only exception to the basic error handling principles outlined above.
The mechanism by which end users set or register a custom error handler should follow language-specific conventions.
Additional Context
Found while working on https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/issues/2009