Skip to content

Commit 5aea1a4

Browse 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 <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
1 parent 265e9d5 commit 5aea1a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/util.js‎

Lines 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
conste=newErrnoException(...args);
341341
Error.stackTraceLimit=limit;
342-
ErrorCaptureStackTrace(e,_exceptionWithHostPort);
342+
ErrorCaptureStackTrace(e,_errnoException);
343343
returne;
344344
}
345345
returnnewErrnoException(...args);

0 commit comments

Comments
(0)