Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better handling of unhandledrejections with non Error reasons #13

Merged
merged 1 commit into from
Jul 16, 2018

Conversation

johanneswilm
Copy link
Contributor

there is currently nothing restricting the format of promise rejection reasons, but unless the reason is an error, we don't log it. This adds such logging.

I can see in the browser developer console that the browser is also keeping stack information for such rejected promises. But it seems not to be available within JavaScript, so we can only log these without a stack trace.

@Natim Natim merged commit cea4a91 into jojax:master Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants