Commit 1d738dc
committed
Show error dialog on unhandled rejection and uncaught exception
These errors aren't supposed to happen in the samples, but if they do,
we want them to be visible. Otherwise they can only be seen in the dev
tools console, and sometimes you can't tell that the sample is
misbehaving, e.g.:
webgpu#501 (comment)1 parent 85e141c commit 1d738dc
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
1 | 10 | | |
2 | 11 | | |
3 | 12 | | |
| |||
0 commit comments