Commit 9a9aa88
process: improve unhandled rejection message
PR-URL: #17158
Refs: #16768
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 5cbe0f2 commit 9a9aa88Copy full SHA for 9a9aa88
File tree
Expand file treeCollapse file tree
5 files changed
+81
-14
lines changedOpen diff view settings
Filter options
- lib/internal/process
- test
- message
- parallel
Expand file treeCollapse file tree
5 files changed
+81
-14
lines changedOpen diff view settings
Collapse file
lib/internal/process/promises.js
Copy file name to clipboardExpand all lines: lib/internal/process/promises.js+17-3Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
60 | 60 | |
61 | 61 | |
62 | 62 | |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
63 | 75 | |
64 | | - |
65 | | - |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
66 | 81 | |
67 | | - |
68 | 82 | |
69 | 83 | |
70 | 84 | |
|
Collapse file
test/message/unhandled_promise_trace_warnings.out
Copy file name to clipboardExpand all lines: test/message/unhandled_promise_trace_warnings.out+18Lines changed: 18 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 | + |
| 18 | + |
1 | 19 | |
2 | 20 | |
3 | 21 | |
|
Collapse file
test/parallel/test-promises-unhandled-proxy-rejections.js
Copy file name to clipboardExpand all lines: test/parallel/test-promises-unhandled-proxy-rejections.js+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
10 | | - |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
11 | 14 | |
12 | 15 | |
13 | 16 | |
|
Collapse file
test/parallel/test-promises-unhandled-symbol-rejections.js
Copy file name to clipboardExpand all lines: test/parallel/test-promises-unhandled-symbol-rejections.js+10-3Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
8 | 9 | |
9 | | - |
10 | | - |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
11 | 15 | |
12 | 16 | |
13 | 17 | |
14 | | - |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
15 | 22 | |
16 | 23 | |
17 | 24 | |
|
Collapse file
test/parallel/test-promises-warning-on-unhandled-rejection.js
Copy file name to clipboardExpand all lines: test/parallel/test-promises-warning-on-unhandled-rejection.js+31-6Lines changed: 31 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
16 | | - |
| 15 | + |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
20 | 26 | |
21 | 27 | |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
22 | 46 | |
23 | 47 | |
24 | 48 | |
25 | 49 | |
26 | | - |
| 50 | + |
27 | 51 | |
28 | | - |
29 | | - |
| 52 | + |
| 53 | + |
| 54 | + |
0 commit comments