Skip to content

Commit c53c2fe

Browse files
committed
Add missing trycatch (#171)
# Conflicts: # src/js_stream.cc
1 parent c456f86 commit c53c2fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js_stream.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ void JSStream::Finish(const FunctionCallbackInfo<Value>& args) {
163163

164164

165165
void JSStream::ReadBuffer(const FunctionCallbackInfo<Value>& args) {
166+
v8::TryCatch try_catch(args.GetIsolate());
166167
JSStream* wrap;
167168
ASSIGN_OR_RETURN_UNWRAP(&wrap, args.This());
168169

0 commit comments

Comments
 (0)