Commit 0376b25
refactor(apps): converge error-handlers notification shape in deno-runtime
Emit the same JSON-RPC notification shape node-runtime uses for
uncaught errors: method is the origin ('uncaughtException' /
'unhandledRejection') and params is [error.stack || error], instead of
the richer { type, message, filename, ... } / { type, reason, timestamp }
objects. The addEventListener registration mechanism stays as the
remaining genuine platform difference.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d924409 commit 0376b25
1 file changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 10 | + | |
17 | 11 | | |
18 | 12 | | |
19 | 13 | | |
20 | 14 | | |
21 | 15 | | |
22 | 16 | | |
23 | | - | |
| 17 | + | |
| 18 | + | |
24 | 19 | | |
25 | 20 | | |
26 | | - | |
| 21 | + | |
27 | 22 | | |
28 | 23 | | |
29 | 24 | | |
| |||
0 commit comments