pixiebrix-extension
pixiebrix-extension copied to clipboard
RTK errors are swallowed (no log, no report)
Repro:
-
Add
throw new Error('TEST')to after the UUID linehttps://github.com/pixiebrix/pixiebrix-extension/blob/4061afede8e9e1a64a63ed438805ac94dd5df6ed/src/pageEditor/tabState/tabStateSlice.ts#L49-L54
-
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: