From ff1aca57e938abe346032228729e297fb0c61cdb Mon Sep 17 00:00:00 2001 From: Victor Gomes Date: Tue, 23 Apr 2024 10:17:55 +0200 Subject: [PATCH] Add missing trycatch (#171) # Conflicts: # src/js_stream.cc --- src/js_stream.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js_stream.cc b/src/js_stream.cc index 68f6915eb6c56e..42064344e4c67a 100644 --- a/src/js_stream.cc +++ b/src/js_stream.cc @@ -163,6 +163,7 @@ void JSStream::Finish(const FunctionCallbackInfo& args) { void JSStream::ReadBuffer(const FunctionCallbackInfo& args) { + v8::TryCatch try_catch(args.GetIsolate()); JSStream* wrap; ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder());