From 7e6b39bba351ccd8a7d532ebc774a1e0a72d3586 Mon Sep 17 00:00:00 2001 From: Jerome Gravel-Niquet Date: Fri, 14 Dec 2018 13:17:00 -0500 Subject: [PATCH] handle js_send exceptions like eval exceptions --- libfly/binding.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libfly/binding.cc b/libfly/binding.cc index c10f9c0..6ae1351 100644 --- a/libfly/binding.cc +++ b/libfly/binding.cc @@ -526,8 +526,7 @@ extern "C" if (try_catch.HasCaught()) { - // deno::HandleException(context, try_catch.Exception()); - printf("ex! %s\n", *v8::String::Utf8Value(rt->isolate, try_catch.Exception())); + HandleException(context, try_catch.Exception()); return 0; }