Index: src/messages.cc |
=================================================================== |
--- src/messages.cc (revision 5696) |
+++ src/messages.cc (working copy) |
@@ -152,8 +152,8 @@ |
Handle<String> MessageHandler::GetMessage(Handle<Object> data) { |
Handle<String> fmt_str = Factory::LookupAsciiSymbol("FormatMessage"); |
Handle<JSFunction> fun = |
- Handle<JSFunction>( |
- JSFunction::cast(Top::builtins()->GetProperty(*fmt_str))); |
+ Handle<JSFunction>(JSFunction::cast( |
+ Top::builtins()->GetPropertyNoExceptionThrown(*fmt_str))); |
Object** argv[1] = { data.location() }; |
bool caught_exception; |