Skip to content

Commit 280fb01

Browse files
committed
test: fix deprecation warning in addons test
The non-isolate version of node::FatalException() is deprecated, switch to the version that takes an isolate as its first argument. PR-URL: #1793 Reviewed-By: Trevor Norris <[email protected]>
1 parent 93a44d5 commit 280fb01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/addons/async-hello-world/binding.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void AfterAsync(uv_work_t* r) {
3939
delete req;
4040

4141
if (try_catch.HasCaught()) {
42-
FatalException(try_catch);
42+
FatalException(isolate, try_catch);
4343
}
4444
}
4545

0 commit comments

Comments
 (0)