Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 3ce581a32b90817d6b4d79b7a9fa601de84d7c41..4090969ac941e7beef4369faad70895a17a28148 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1381,9 +1381,9 @@ Handle<JSMessageObject> Isolate::CreateMessage(Handle<Object> exception, |
factory()->InternalizeOneByteString(STATIC_CHAR_VECTOR("exception")); |
} |
} |
- return MessageHandler::MakeMessageObject(this, "uncaught_exception", location, |
- HandleVector<Object>(&exception, 1), |
- stack_trace_object); |
+ return MessageHandler::MakeMessageObject( |
+ this, MessageTemplate::kUncaughtException, location, exception, |
+ stack_trace_object); |
} |