We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74a896f + 4ea6fbf commit 350b3a6Copy full SHA for 350b3a6
cli/debug/debug.go
@@ -33,5 +33,8 @@ func IsEnabled() bool {
33
// The default is to log to the debug level which is only
34
// enabled when debugging is enabled.
35
var OTELErrorHandler otel.ErrorHandler = otel.ErrorHandlerFunc(func(err error) {
36
+ if err == nil {
37
+ return
38
+ }
39
logrus.WithError(err).Debug("otel error")
40
})
0 commit comments