Skip to content

Ability to catch all errors like errorCaptured #2471

Closed Answered by ghost
ghost asked this question in Help and Questions
Discussion options

You must be logged in to vote

I may have figured it out... I need to tap into both error and unhandledrejection. The latter is to handle promises and the former is for everything else... I would've needed the latter because errorCaptured does not actually capture promise errors, which is the majority of what I need to catch.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
0 participants