Commit b2c77ec
report: use triggerReport() to handle exceptions
This commit uses the triggerReport() binding to handle
uncaught exceptions and removes the custom onUncaughtException
function.
PR-URL: #26386
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 851a691 commit b2c77ecCopy full SHA for b2c77ec
File tree
Expand file treeCollapse file tree
3 files changed
+12
-25
lines changedOpen diff view settings
Filter options
- lib/internal/process
- src
Expand file treeCollapse file tree
3 files changed
+12
-25
lines changedOpen diff view settings
Collapse file
lib/internal/process/execution.js
Copy file name to clipboardExpand all lines: lib/internal/process/execution.js+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
116 | 116 | |
117 | 117 | |
118 | 118 | |
119 | | - |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
120 | 123 | |
121 | 124 | |
122 | 125 | |
|
Collapse file
lib/internal/process/report.js
Copy file name to clipboardExpand all lines: lib/internal/process/report.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
87 | 87 | |
88 | 88 | |
89 | 89 | |
90 | | - |
| 90 | + |
91 | 91 | |
92 | 92 | |
93 | 93 | |
|
Collapse file
+7-23Lines changed: 7 additions & 23 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | | - |
39 | 38 | |
40 | 39 | |
41 | 40 | |
| ||
48 | 47 | |
49 | 48 | |
50 | 49 | |
51 | | - |
52 | | - |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
53 | 54 | |
54 | | - |
55 | | - |
| 55 | + |
| 56 | + |
56 | 57 | |
57 | 58 | |
58 | | - |
| 59 | + |
59 | 60 | |
60 | 61 | |
61 | 62 | |
| ||
79 | 80 | |
80 | 81 | |
81 | 82 | |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | 83 | |
99 | 84 | |
100 | 85 | |
| ||
239 | 224 | |
240 | 225 | |
241 | 226 | |
242 | | - |
243 | 227 | |
244 | 228 | |
245 | 229 | |
|
0 commit comments