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: https://github.com/nodejs/io.js/pull/1793 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
This commit is contained in:
parent
93a44d5228
commit
280fb01daf
@ -39,7 +39,7 @@ void AfterAsync(uv_work_t* r) {
|
|||||||
delete req;
|
delete req;
|
||||||
|
|
||||||
if (try_catch.HasCaught()) {
|
if (try_catch.HasCaught()) {
|
||||||
FatalException(try_catch);
|
FatalException(isolate, try_catch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user