Commit c842ab3
report: skip report if uncaught exception is handled
If the exception is handled by the userland
process#uncaughtException handler, reports should not be generated
repetitively as the process may continue to run.
PR-URL: #44208
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>1 parent a02492f commit c842ab3Copy full SHA for c842ab3
File tree
Expand file treeCollapse file tree
9 files changed
+122
-60
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal/process
- src
- test/report
Expand file treeCollapse file tree
9 files changed
+122
-60
lines changedOpen diff view settings
Collapse file
+6-3Lines changed: 6 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1048 | 1048 | |
1049 | 1049 | |
1050 | 1050 | |
| 1051 | + |
| 1052 | + |
| 1053 | + |
1051 | 1054 | |
1052 | 1055 | |
1053 | 1056 | |
| ||
1059 | 1062 | |
1060 | 1063 | |
1061 | 1064 | |
1062 | | - |
1063 | | - |
1064 | | - |
| 1065 | + |
| 1066 | + |
| 1067 | + |
1065 | 1068 | |
1066 | 1069 | |
1067 | 1070 | |
|
Collapse file
lib/internal/process/execution.js
Copy file name to clipboardExpand all lines: lib/internal/process/execution.js-21Lines changed: 0 additions & 21 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
139 | 139 | |
140 | 140 | |
141 | 141 | |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
152 | | - |
153 | | - |
154 | | - |
155 | | - |
156 | | - |
157 | | - |
158 | | - |
159 | | - |
160 | | - |
161 | | - |
162 | | - |
163 | 142 | |
164 | 143 | |
165 | 144 | |
|
Collapse file
+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
392 | 392 | |
393 | 393 | |
394 | 394 | |
| 395 | + |
395 | 396 | |
396 | 397 | |
397 | 398 | |
| ||
424 | 425 | |
425 | 426 | |
426 | 427 | |
| 428 | + |
| 429 | + |
427 | 430 | |
428 | 431 | |
429 | 432 | |
| ||
445 | 448 | |
446 | 449 | |
447 | 450 | |
| 451 | + |
| 452 | + |
| 453 | + |
| 454 | + |
| 455 | + |
448 | 456 | |
449 | 457 | |
450 | 458 | |
|
Collapse file
test/report/test-report-uncaught-exception-compat.js
Copy file name to clipboard+31-4Lines changed: 31 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | 1 | |
3 | | - |
4 | | - |
5 | | - |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
Collapse file
test/report/test-report-uncaught-exception-handled.js
Copy file name to clipboard+23Lines changed: 23 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 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
Collapse file
test/report/test-report-uncaught-exception-override.js
Copy file name to clipboardExpand all lines: test/report/test-report-uncaught-exception-override.js+1-3Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
16 | | - |
17 | | - |
| 15 | + |
18 | 16 | |
19 | 17 | |
20 | 18 | |
|
Collapse file
test/report/test-report-uncaught-exception-primitives.js
Copy file name to clipboardExpand all lines: test/report/test-report-uncaught-exception-primitives.js+17-10Lines changed: 17 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | 1 | |
3 | 2 | |
4 | 3 | |
5 | 4 | |
| 5 | + |
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
10 | 13 | |
11 | 14 | |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
17 | 25 | |
18 | 26 | |
19 | 27 | |
20 | 28 | |
21 | | - |
| 29 | + |
| 30 | + |
22 | 31 | |
23 | 32 | |
24 | | - |
25 | | - |
|
Collapse file
test/report/test-report-uncaught-exception-symbols.js
Copy file name to clipboardExpand all lines: test/report/test-report-uncaught-exception-symbols.js+15-9Lines changed: 15 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | 1 | |
3 | 2 | |
4 | 3 | |
5 | 4 | |
| 5 | + |
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
| 9 | + |
| 10 | + |
| 11 | + |
10 | 12 | |
11 | 13 | |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
17 | 24 | |
18 | 25 | |
19 | 26 | |
20 | 27 | |
| 28 | + |
21 | 29 | |
22 | 30 | |
23 | 31 | |
24 | | - |
25 | | - |
|
Collapse file
test/report/test-report-uncaught-exception.js
Copy file name to clipboard+21-10Lines changed: 21 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | 1 | |
3 | 2 | |
4 | 3 | |
5 | 4 | |
| 5 | + |
6 | 6 | |
7 | 7 | |
8 | | - |
9 | 8 | |
10 | | - |
11 | | - |
| 9 | + |
| 10 | + |
| 11 | + |
12 | 12 | |
13 | | - |
14 | | - |
15 | | - |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
16 | 24 | |
17 | | - |
18 | | - |
19 | 25 | |
20 | | - |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
0 commit comments