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 Apr 23, 2024
1 parent cc9d9c8 commit ff1aca5
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 ff1aca5

Please sign in to comment.