Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 407ddd8cc383f4de079d79d873c9113a1a15fd80..8b08b426d3985fe83bb6c68047cc0500b366a6b0 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2295,6 +2295,7 @@ Handle<JSMessageObject> Factory::NewJSMessageObject( |
message_obj->set_end_position(end_position); |
message_obj->set_script(*script); |
message_obj->set_stack_frames(*stack_frames); |
+ message_obj->set_error_level(v8::Isolate::kMessageError); |
return message_obj; |
} |