Skip to content

Commit 8a327fb

Browse files
victorgomespthier
authored andcommitted
Add missing trycatch (#171)
# Conflicts: # src/js_stream.cc
1 parent c05102c commit 8a327fb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)