Skip to content

Commit

Permalink
test: fix deprecation warning in addons test
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bnoordhuis committed May 26, 2015
1 parent 93a44d5 commit 280fb01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons/async-hello-world/binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void AfterAsync(uv_work_t* r) {
delete req;

if (try_catch.HasCaught()) {
FatalException(try_catch);
FatalException(isolate, try_catch);
}
}

Expand Down

0 comments on commit 280fb01

Please sign in to comment.