Skip to content

Maintenance: Update Rollbar handling in local dev, for manual testing#2809

Merged
kevinrobinson merged 2 commits intomasterfrom
experiment/timeout-problem-understanding
Apr 22, 2020
Merged

Maintenance: Update Rollbar handling in local dev, for manual testing#2809
kevinrobinson merged 2 commits intomasterfrom
experiment/timeout-problem-understanding

Conversation

@kevinrobinson
Copy link
Copy Markdown
Contributor

Who is this PR for?

This is for developers, trying to validate some edge cases locally.

What problem does this PR fix?

Rollbar just wasn't provided locally, and there was a place in <SessionRenewal /> that didn't guard for this and would raise. This would only happen in local development.

What does this PR do?

Updates the code setting up Rollbar to provide mock reporting functions if it doesn't load. These just log to the console. This way if other call sites don't guard properly local development still works.

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 829afff into master Apr 22, 2020
@kevinrobinson kevinrobinson deleted the experiment/timeout-problem-understanding branch April 22, 2020 13:46
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