Skip to content

Filter non-actionable Non-Error promise rejection errors from Sentry#8461

Merged
iHiD merged 1 commit into
mainfrom
fix/8454
Feb 9, 2026
Merged

Filter non-actionable Non-Error promise rejection errors from Sentry#8461
iHiD merged 1 commit into
mainfrom
fix/8454

Conversation

@iHiD
Copy link
Copy Markdown
Member

@iHiD iHiD commented Feb 9, 2026

Closes #8454

Summary

  • Add a filter in the Sentry beforeSend callback to drop Non-Error promise rejection captured with value: errors
  • These are unhandled promise rejections where a non-Error value (e.g. a plain string) was rejected, producing no stack trace and no actionable information
  • Follows the same pattern as all existing Sentry error filters in react-bootloader.tsx

Test plan

  • Verified the filter string matches the exact Sentry SDK synthetic message format
  • Confirmed the filter follows the established pattern of all other filters in beforeSend
  • yarn test passes (160/160 suites, 1550/1550 tests)

🤖 Generated with Claude Code

@iHiD iHiD requested a review from dem4ron as a code owner February 9, 2026 10:24
These are unhandled promise rejections where a non-Error value was rejected
(e.g. a plain string). They have no stack trace and are not actionable.

Closes #8454

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@iHiD iHiD merged commit 6538137 into main Feb 9, 2026
77 of 78 checks passed
@iHiD iHiD deleted the fix/8454 branch February 9, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UnhandledRejection: Non-Error promise rejection captured with value: asd

1 participant