-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: overlay displays unhandled promise rejection #4849
feat: overlay displays unhandled promise rejection #4849
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #4849 +/- ##
==========================================
- Coverage 91.96% 91.84% -0.12%
==========================================
Files 16 16
Lines 1704 1704
Branches 647 647
==========================================
- Hits 1567 1565 -2
- Misses 126 128 +2
Partials 11 11 ☔ View full report in Codecov by Sentry. |
How do I make unhandled promise rejection not overlay displays, so that it behaves the same as before. |
overlay: {
++runtimeErrors: false,
errors: true,
warnings: false,
}, This is the same behavior as before. |
This feature gave us so much headache that we had to downgrade to the previous version. |
@keremcanb just disable it using options |
We are running on CRA, which is not ejected. Also we don't want to disable
all runtime error messages.
…On Wed, May 31, 2023, 21:58 Alexander Akait ***@***.***> wrote:
@keremcanb <https://github.com/keremcanb> just disable it using options
—
Reply to this email directly, view it on GitHub
<#4849 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOTCKFLRXSYOV22F7ZKVAKTXI5MB5ANCNFSM6AAAAAAXYT23FA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
You can filter them, sorry we will not remove this feature |
It should be break change! |
For Bugs and Features; did you add new tests?
Yes
Motivation / Use-Case
overlay.runtimeErrors
should capture unhandled Promise rejection, as it's still runtime error, just async in nature.Breaking Changes
Not breaking change.
Additional Info
Part of #3689