-
Notifications
You must be signed in to change notification settings - Fork 22
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
RTK errors are swallowed (no log, no report) #4489
Comments
Raising priority of this in case it's the root cause of missing error indicators in other places |
Story points: 2 |
@twschiller What does "missing error indicators in other places" refer to here? |
Probably: since errors are swallowed, it's possible that they're not being displayed anywhere even in the UI. The screenshots above do show this "error indicator" but other places might not. |
Correct, I was just flagging that it could cause user error toasts/form validation to not appear in some places. I didn't not investigate particular cases. |
Repro:
Add
throw new Error('TEST')
to after the UUID linepixiebrix-extension/src/pageEditor/tabState/tabStateSlice.ts
Lines 49 to 54 in 4061afe
Open the console or background console
The error is never reported, it doesn't bubble up to the global handler nor there's any RTK-specific handler to catch it. It's completely hidden from the developer.
In this case it appears in the UI, but I suppose it might as well not:
Related
The text was updated successfully, but these errors were encountered: