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

Allow enable/disable uncaught errors/rejections in .configure #729

Merged
merged 1 commit into from
May 15, 2019

Conversation

waltjones
Copy link
Contributor

@waltjones waltjones commented May 11, 2019

Fixes #726

Previously, updating captureUncught or captureUnhandledRejections in Rollbar.configure would have no effect. This PR allows both enabling and disabling via configure in both the browser and server/node environments.

This PR also adds browser and server tests for unhandled error and rejection behavior, as well as tests for enabling/disabling via the constructor and configure.

@ArturMoczulski
Copy link

lgtm 👍 great work

@waltjones waltjones merged commit 6a9d7ca into master May 15, 2019
mudetroit pushed a commit that referenced this pull request Mar 14, 2024
Allow enable/disable uncaught errors/rejections in .configure
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.

Setting captureUncaught and captureUnhandledRejections in configure has no effect
2 participants