Replies: 1 comment 2 replies
-
Hi @fsz1987,
No, but it's something we could look into. What would this feature look like, ideally? For example, are you envisioning a script event, a managed callback, or something else? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Clearscript v8 .
by default, if an async function throws an error and the caller did not await it.
then the exception is omitted like nothing happened.
example:
is there any way to setup a global hook to handle unhandled async function exception/Promise rejection ?
I hope I can do some fallback process.
for example, print error message and stack trace to the console.
Beta Was this translation helpful? Give feedback.
All reactions