Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
handle js_send exceptions like eval exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegn committed Dec 14, 2018
1 parent 9c1faf7 commit 7e6b39b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libfly/binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7e6b39b

Please sign in to comment.