Skip to content

Commit db624a3

Browse files
committed
add missing primordial
1 parent b731e02 commit db624a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source-map-support.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,8 @@ try {
419419
if(symbol) kIsNodeError = symbol;
420420
}
421421

422+
const ErrorPrototypeToString = (err) =>Error.prototype.toString.call(err);
423+
422424
// This function is part of the V8 stack trace API, for more info see:
423425
// https://v8.dev/docs/stack-trace-api
424426
function prepareStackTrace(error, stack) {

0 commit comments

Comments
 (0)