Skip to content

Setup framework for error provider services#4149

Merged
soyarsauce merged 5 commits intomobxfrom
mobx-rollbar-error-provider
Mar 26, 2020
Merged

Setup framework for error provider services#4149
soyarsauce merged 5 commits intomobxfrom
mobx-rollbar-error-provider

Conversation

@rowanwins
Copy link
Contributor

What this PR does

First part of TerriaJS/TerriaMap#430

This PR sets up some basic pieces for configuring error handling services like rollbar, or sentry etc. A user would pass down a parameter via config.json including the API key for the respective service.

An app will also need some configuration in TerriaMap index.js to specify which ErrorProvider they want to use. This should prevent things like the rollbar library from being bundled in the application if it's not required.

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable
  • I've updated CHANGES.md with what I changed.

@soyarsauce soyarsauce self-assigned this Mar 25, 2020
@soyarsauce
Copy link
Contributor

@soyarsauce
Copy link
Contributor

@soyarsauce soyarsauce merged commit 25f86b5 into mobx Mar 26, 2020
@soyarsauce soyarsauce deleted the mobx-rollbar-error-provider branch March 26, 2020 00:41
@soyarsauce soyarsauce restored the mobx-rollbar-error-provider branch March 26, 2020 00:41
@soyarsauce soyarsauce mentioned this pull request Mar 26, 2020
2 tasks
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.

2 participants