Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 67f9810fdd59365e0d229c9439cf49db9bf8cdf7..f7605d8d21b346e85a78c557aca0b74d78cb624c 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -883,7 +883,7 @@ void Isolate::ScheduleThrow(Object* exception) { |
// When scheduling a throw we first throw the exception to get the |
// error reporting if it is uncaught before rescheduling it. |
Throw(exception); |
- OptionalRescheduleException(false); |
+ PropagatePendingExceptionToExternalTryCatch(); |
if (has_pending_exception()) { |
thread_local_top()->scheduled_exception_ = pending_exception(); |
thread_local_top()->external_caught_exception_ = false; |