Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 33ca1579b258bcab958b30659f64ac0c13b2de9d..dadaa915d48e0fb17467097156c89047e57edf98 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -2669,7 +2669,7 @@ void Debugger::OnException(Handle<Object> exception, |
// Determine event; |
DebugEvent event = promise->IsUndefined() |
- ? v8::Exception : v8::UncaughtExceptionInPromise; |
+ ? v8::Exception : v8::PendingExceptionInPromise; |
// Create the event data object. |
Handle<Object> event_data; |