Skip to content

Commit 9de4651

Browse files
victorgomespthier
authored andcommitted
Add missing trycatch (#171)
# Conflicts: # src/js_stream.cc
1 parent d43a914 commit 9de4651

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
@@ -165,6 +165,7 @@ void JSStream::Finish(const FunctionCallbackInfo<Value>& args) {
165165

166166

167167
void JSStream::ReadBuffer(const FunctionCallbackInfo<Value>& args) {
168+
v8::TryCatch try_catch(args.GetIsolate());
168169
JSStream* wrap;
169170
ASSIGN_OR_RETURN_UNWRAP(&wrap, args.This());
170171

0 commit comments

Comments
 (0)