Index: src/pending-compilation-error-handler.cc |
diff --git a/src/pending-compilation-error-handler.cc b/src/pending-compilation-error-handler.cc |
index 0e7e76f64a962c7136b0feb0095fdccfa986afde..8f7660dd6b3e02966b997711100e0d67b2e79aa7 100644 |
--- a/src/pending-compilation-error-handler.cc |
+++ b/src/pending-compilation-error-handler.cc |
@@ -21,6 +21,7 @@ |
->NewStringFromUtf8(CStrVector(char_arg_)) |
.ToHandleChecked(); |
} |
+ if (!handle_arg_.is_null()) return handle_arg_; |
return isolate->factory()->undefined_string(); |
} |