You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When logging to Sentry, error chain trace is missing. Text representation of wrapped errors is there, but no File:Location trace.
Using provided example:
go run examples/sentry/example.go -dsn=<Valid Sentry DSN>
Results in Sentry FULL mode:
EXCEPTION(most recent call first)
*eris.rootError
test
*eris.wrapError
wrap 1: test
*eris.wrapError
wrap 2: wrap 1: test
*eris.wrapError
wrap 3: wrap 2: wrap 1: test
example.go in main at line 54
})
if initErr != nil {
log.Fatalf("failed to initialize Sentry: %v", initErr)
}
sentry.CaptureException(err)
sentry.Flush(time.Second * 5)
}
Results in Sentry RAW mode:
EXCEPTION(most recent call first)
*eris.wrapError: wrap 3: wrap 2: wrap 1: test
File "example.go", line 54, in main
sentry.CaptureException(err)
The text was updated successfully, but these errors were encountered:
When logging to Sentry, error chain trace is missing. Text representation of wrapped errors is there, but no
File:Location
trace.Using provided example:
Results in Sentry FULL mode:
Results in Sentry RAW mode:
The text was updated successfully, but these errors were encountered: