Skip to content

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

Merged
kevinrobinson merged 1 commit into
masterfrom
patch/rollbar-reporting-call
Jul 18, 2019
Merged

Monitoring: Rollbar functions can't be called without explicitly setting 'this'#2524
kevinrobinson merged 1 commit into
masterfrom
patch/rollbar-reporting-call

Conversation

@kevinrobinson

Copy link
Copy Markdown
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
Copy Markdown
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