Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 9ba288581de8a10feeb1f07ee6014f6ec58d5c75..342aa505da7b6378f66f9636dfc3eef12ce3df1d 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -637,8 +637,8 @@ bool Debug::CompileDebuggerScript(Isolate* isolate, int index) { |
if (maybe_exception.ToHandle(&exception)) { |
isolate->set_pending_exception(*exception); |
MessageHandler::ReportMessage(isolate, NULL, message); |
- isolate->clear_pending_exception(); |
} |
+ DCHECK(!maybe_exception.is_null()); |
return false; |
} |