Index: src/liveedit.cc |
diff --git a/src/liveedit.cc b/src/liveedit.cc |
index 6fb917caeaae72046bdbf812b2c254003881bb81..0f5a46d5236bede0154da50ce367b9f1aa5ad963 100644 |
--- a/src/liveedit.cc |
+++ b/src/liveedit.cc |
@@ -835,8 +835,7 @@ MaybeHandle<JSArray> LiveEdit::GatherCompileInfo(Handle<Script> script, |
// A logical 'catch' section. |
Handle<JSObject> rethrow_exception; |
if (isolate->has_pending_exception()) { |
- Handle<Object> exception(isolate->pending_exception()->ToObjectChecked(), |
- isolate); |
+ Handle<Object> exception(isolate->pending_exception(), isolate); |
MessageLocation message_location = isolate->GetMessageLocation(); |
isolate->clear_pending_message(); |