Skip to content

Commit

Permalink
Add missing trycatch (nodejs#171)
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/js_stream.cc
  • Loading branch information
victorgomes committed Jun 3, 2024
1 parent d2ffa4c commit 00e8427
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js_stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ void JSStream::Finish(const FunctionCallbackInfo<Value>& args) {


void JSStream::ReadBuffer(const FunctionCallbackInfo<Value>& args) {
v8::TryCatch try_catch(args.GetIsolate());
JSStream* wrap;
ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder());

Expand Down

0 comments on commit 00e8427

Please sign in to comment.