Unhandled exceptions are sometimes not surfaced #2240
Labels
area-error-messaging
closed-duplicate
Closed in favor of an existing report
P1
A high priority bug; for example, a single project is unusable or has many test failures
What happened?
Sometimes unhandled async exceptions don't show up in the Console output area.
Steps to reproduce problem
The problem does not reproduce reliably. Refreshing the page seems to result in either having exceptions work, or not work. When they don't work they will be consistently suppressed on every run until the page is reloaded.
Additional info
Browser
Browser: Chrome
Version: 100.0.4896.75
Machine
Operating system: macOS Monterey
Version: 12.3.1
Your code
What code was in the editor, if any, when the failure occurred? You
can paste it in below:
DartPad's output
There is sometimes no output at all, or there is the expected output:
In either case, the browser JS debugger console does show the error
The text was updated successfully, but these errors were encountered: