From 280fb01daffdfe710a0f0869a836b3ed6f5d1c09 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 25 May 2015 16:45:11 +0200 Subject: [PATCH] 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 --- test/addons/async-hello-world/binding.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/addons/async-hello-world/binding.cc b/test/addons/async-hello-world/binding.cc index 99f79431a05..f458dc6a563 100644 --- a/test/addons/async-hello-world/binding.cc +++ b/test/addons/async-hello-world/binding.cc @@ -39,7 +39,7 @@ void AfterAsync(uv_work_t* r) { delete req; if (try_catch.HasCaught()) { - FatalException(try_catch); + FatalException(isolate, try_catch); } }