Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5aea1a4

Browse filesBrowse files
SeokhunEomaduh95
authored andcommitted
lib: fix constructor in _errnoException stack tree
Fixes the constructor name in the stack tree for _errnoException. PR-URL: #60156 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 265e9d5 commit 5aea1a4
Copy full SHA for 5aea1a4

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/util.js‎

Copy file name to clipboardExpand all lines: lib/util.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ function _errnoException(...args) {
339339
Error.stackTraceLimit = 0;
340340
const e = new ErrnoException(...args);
341341
Error.stackTraceLimit = limit;
342-
ErrorCaptureStackTrace(e, _exceptionWithHostPort);
342+
ErrorCaptureStackTrace(e, _errnoException);
343343
return e;
344344
}
345345
return new ErrnoException(...args);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.