Index: src/inspector/v8-debugger.cc |
diff --git a/src/inspector/v8-debugger.cc b/src/inspector/v8-debugger.cc |
index f332a57765c442ce438a32f820536137b3809f86..791518accc49929add3c0d6d9d0099b7078c92c0 100644 |
--- a/src/inspector/v8-debugger.cc |
+++ b/src/inspector/v8-debugger.cc |
@@ -628,7 +628,9 @@ void V8Debugger::BreakProgramRequested(v8::Local<v8::Context> pausedContext, |
void V8Debugger::ExceptionThrown(v8::Local<v8::Context> pausedContext, |
v8::Local<v8::Object> execState, |
v8::Local<v8::Value> exception, |
- bool isPromiseRejection, bool isUncaught) { |
+ v8::Local<v8::Value> promise, |
+ bool isUncaught) { |
+ bool isPromiseRejection = promise->IsPromise(); |
handleProgramBreak(pausedContext, execState, exception, |
v8::Local<v8::Array>(), isPromiseRejection, isUncaught); |
} |