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

Add basic rejection tracking #116

Merged
merged 3 commits into from
Dec 23, 2015
Merged

Add basic rejection tracking #116

merged 3 commits into from
Dec 23, 2015

Conversation

ForbesLindesay
Copy link
Member

This adds support for tracking unhanded rejections

This adds support for tracking unhanded rejections

var DEFAULT_WHITELIST = [
ReferenceError,
TypeError

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about RangeError? Stack overflows would throw that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds reasonable to me.

@davidaurelio
Copy link

@ForbesLindesay, thank you for adding this – I just read through the code, and it seems that you’ve put a lot of thoughts in this to get it right.

ForbesLindesay added a commit that referenced this pull request Dec 23, 2015
@ForbesLindesay ForbesLindesay merged commit 90757a3 into master Dec 23, 2015
@ForbesLindesay ForbesLindesay deleted the rejection-tracking branch December 23, 2015 02:52
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