mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
ignore sentry "Non-error exception"
This commit is contained in:
parent
1b7a9d6b59
commit
fcf92e04e3
@ -14,6 +14,13 @@ Sentry.init({
|
||||
|
||||
enabled: process.env.NODE_ENV !== "development" && !process.env.CI,
|
||||
|
||||
// https://forum.sentry.io/t/unhandledrejection-non-error-promise-rejection-captured-with-value/14062/13
|
||||
// https://github.com/getsentry/sentry-javascript/issues/3440#issuecomment-865857552
|
||||
ignoreErrors:[
|
||||
"Non-Error exception captured",
|
||||
"Non-Error promise rejection captured"
|
||||
],
|
||||
|
||||
// You can remove this option if you're not planning to use the Sentry Session Replay feature:
|
||||
integrations: [
|
||||
Sentry.replayIntegration({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user