From b60c0243d43ec1e7e5875f516c88599d4077490f Mon Sep 17 00:00:00 2001 From: Kyle Farnung Date: Fri, 19 May 2017 12:09:14 -0700 Subject: [PATCH] chakrashim: fixed missing conditional body PR-URL: https://github.com/nodejs/node-chakracore/pull/250 Reviewed-By: Kunal Pathak Reviewed-By: Sandeep Agarwal --- deps/chakrashim/src/inspector/v8-debugger.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/chakrashim/src/inspector/v8-debugger.cc b/deps/chakrashim/src/inspector/v8-debugger.cc index 8b2e9f98772..a95dc77d6bd 100644 --- a/deps/chakrashim/src/inspector/v8-debugger.cc +++ b/deps/chakrashim/src/inspector/v8-debugger.cc @@ -509,7 +509,8 @@ void V8Debugger::HandleBreak(JsValueRef eventData) { if (hasUncaught) { if (jsrt::InspectorHelpers::GetBoolProperty(eventData, "uncaught", &isUncaught) != JsNoError) { - + assert(false); + return; } }