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:
Ben Noordhuis 2015-05-25 16:45:11 +02:00
parent 93a44d5228
commit 280fb01daf

View File

@ -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);
} }
} }