Commit aa98868
committed
VIA-357 MD/DB Add event listener for unhandled asynchronous client side error logging
Note that this will result in all unhandled errors in the client
outputting a log line stating that an unhandled error has happened.
COntext on what happened is impossible to pass in without accepting raw
text from an endpoint which may present a security risk. Error types can
be intercepted and directly specified in client-error-logger if
required.1 parent d5c76e0 commit aa98868
File tree
2 files changed
+19
-0
lines changed- src/app
- _components/client-unhandled-error-logger
2 files changed
+19
-0
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments