rusty_v8
rusty_v8 copied to clipboard
Better uncaught exception support
Refs: https://github.com/denoland/deno/issues/4350
Exceptions thrown in microtask callbacks print an error message but no stacktrace and don't terminate the process.
Adding bindings for the following APIs should help with that:
-
v8::Isolate::SetAbortOnUncaughtExceptionCallback()(needs--abort_on_uncaught_exception) -
~~
v8::Isolate::SetCaptureStackTraceForUncaughtExceptions()~~ - exists