Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/javascript/utils/react-bootloader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ if (process.env.SENTRY_DSN) {
})
if (isObfuscatedExtensionError) return null

// Drop non-actionable promise rejections with non-Error values
// (no stack trace, arbitrary strings from third-party code or browser extensions)
const isNonErrorRejection = event.exception?.values?.some((ex) =>
ex.value?.includes('Non-Error promise rejection captured with value:')
)
if (isNonErrorRejection) return null

const tag = document.querySelector<HTMLMetaElement>(
'meta[name="user-id"]'
)
Expand Down
Loading