diff options
Diffstat (limited to 'src/node_errors.h')
-rw-r--r-- | src/node_errors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_errors.h b/src/node_errors.h index 61d9b882212..4d6e1ab42d4 100644 --- a/src/node_errors.h +++ b/src/node_errors.h @@ -70,7 +70,7 @@ void FatalException(v8::Isolate* isolate, v8::Exception::type(js_msg)->ToObject( \ isolate->GetCurrentContext()).ToLocalChecked(); \ e->Set(isolate->GetCurrentContext(), OneByteString(isolate, "code"), \ - js_code).FromJust(); \ + js_code).Check(); \ return e; \ } \ inline void THROW_ ## code(v8::Isolate* isolate, const char* message) { \ |