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 promise rejection handling #161

Merged
merged 3 commits into from
Aug 27, 2019
Merged

Better promise rejection handling #161

merged 3 commits into from
Aug 27, 2019

Conversation

MatthewHerbst
Copy link
Owner

Adds a new onPrintError callback method that can be used to respond to Promise rejection events.

Also includes some docs cleanup.

@MatthewHerbst
Copy link
Owner Author

@andfs this is the follow-up PR I had mentioned. It adds a way for users to be able to get notified if the Promise rejects. Do you mind reviewing it for me?

We intent for people to use this package in production!
@MatthewHerbst MatthewHerbst merged commit 74b8218 into MatthewHerbst:master Aug 27, 2019
@MatthewHerbst MatthewHerbst deleted the better-promise-rejection-handling branch August 27, 2019 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant