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

Monitoring: Rollbar functions can't be called without explicitly setting 'this' #2524

Merged
merged 1 commit into from
Jul 18, 2019

Conversation

kevinrobinson
Copy link
Contributor

What problem does this PR fix?

Rollbar reporting in RollbarErrorBoundary wasn't working because our code assigned the reporting function to a variable without binding 'this'. This led to the Rollbar library code throwing and dropping the errors. 👣 🔫

What does this PR do?

Removes use of variable.

Does this PR use tests to help verify we can deploy these changes quickly and confidently?

  • Manual testing made more sense here

@kevinrobinson
Copy link
Contributor Author

selfie

@kevinrobinson kevinrobinson merged commit 618a74e into master Jul 18, 2019
@kevinrobinson kevinrobinson deleted the patch/rollbar-reporting-call branch July 18, 2019 17:35
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.

1 participant