Commit 4a1cb3d
lib: do not catch user errors
The API caught errors from inside of the users passed through callback.
This never caused any issues, since this API is only used internally.
Otherwise it would have potentially hidden bugs in user code.
Refs: #31133
PR-URL: #31159
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>1 parent 625ed70 commit 4a1cb3dCopy full SHA for 4a1cb3d
File tree
Expand file treeCollapse file tree
1 file changed
+4
-8
lines changedOpen diff view settings
Filter options
- lib/internal/util
Expand file treeCollapse file tree
1 file changed
+4
-8
lines changedOpen diff view settings
Collapse file
lib/internal/util/inspector.js
Copy file name to clipboardExpand all lines: lib/internal/util/inspector.js+4-8Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
| 13 | + |
13 | 14 | |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
| 15 | + |
| 16 | + |
| 17 | + |
22 | 18 | |
23 | 19 | |
24 | 20 | |
|
0 commit comments