diff options
-rw-r--r-- | src/node.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node.cc b/src/node.cc index dfe84c67c1..62648dbb3f 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2602,9 +2602,9 @@ void FatalException(Isolate* isolate, void FatalException(Isolate* isolate, const TryCatch& try_catch) { HandleScope scope(isolate); - // TODO(bajtos) do not call FatalException if try_catch is verbose - // (requires V8 API to expose getter for try_catch.is_verbose_) - FatalException(isolate, try_catch.Exception(), try_catch.Message()); + if (!try_catch.IsVerbose()) { + FatalException(isolate, try_catch.Exception(), try_catch.Message()); + } } |