You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Praying I did a good dupe check before submitting this)
I'm running a node process that catches any unhandledRejections. I'd like to hunt down all offenders in my app by viewing promise.stack when an unhandledRejection is emitted. Sample app:
Promise reason: denied!
Promise has stack: true
Unhandled rejection reason: denied!
Unhandled rejection has stack: false
My issue is that the unhandledRejection event provides a promise that does not contain the stack information. Am I doing something wrong here? or is this working as intended?
The text was updated successfully, but these errors were encountered:
arikwex
changed the title
unhandledRejection does not contain promise.stack
unhandledRejection does not provide promise.stack
Aug 14, 2018
(Praying I did a good dupe check before submitting this)
I'm running a node process that catches any unhandledRejections. I'd like to hunt down all offenders in my app by viewing promise.stack when an unhandledRejection is emitted. Sample app:
Output:
My issue is that the unhandledRejection event provides a promise that does not contain the stack information. Am I doing something wrong here? or is this working as intended?
The text was updated successfully, but these errors were encountered: