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

Catch unhandled promise rejection events #73

Merged
merged 2 commits into from Jul 11, 2018

Conversation

ghostd
Copy link
Contributor

@ghostd ghostd commented Jun 3, 2018

No description provided.

Copy link
Collaborator

@niemyjski niemyjski left a comment

Choose a reason for hiding this comment

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

Looks good, just some small changes to ensure there are no issues.

tracekit.js Outdated
@@ -234,6 +236,18 @@ TraceKit.report = (function reportModuleWrapper() {
return false;
}

/**
* Ensures all unhandled rejectionss are recorded.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Rejections is misspelled.

tracekit.js Outdated Show resolved Hide resolved
tracekit.js Outdated Show resolved Hide resolved
@ghostd
Copy link
Contributor Author

ghostd commented Jul 9, 2018

Done. Do you prefer i squash the commits?

@niemyjski niemyjski merged commit f03357c into csnover:master Jul 11, 2018
@niemyjski
Copy link
Collaborator

LGTM Thanks for the PR!

@ghostd ghostd deleted the gh72-unhandled-rejection branch July 12, 2018 19:19
tracekit.js Show resolved Hide resolved
@niemyjski
Copy link
Collaborator

I'm published this release.

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.

None yet

3 participants