mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
v8: fix GetLocalizedMessage usage
As is the backport of the abort on uncaught exception wouldn't compile because we it was passing in `this` when it was unnecessary.
This commit is contained in:
1 parent
279361b277
commit
dbe142c4ed
1 file changed
+1
-1
Vendored
+1
-1
@@ -1161,7 +1161,7 @@ void Isolate::DoThrow(Object* exception, MessageLocation* location) {
|
||||
(report_exception || can_be_caught_externally)) {
|
||||
fatal_exception_depth++;
|
||||
fprintf(stderr, "%s\n\nFROM\n",
|
||||
*MessageHandler::GetLocalizedMessage(this, message_obj));
|
||||
*MessageHandler::GetLocalizedMessage(message_obj));
|
||||
PrintCurrentStackTrace(stderr);
|
||||
OS::Abort();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user