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

Refactor error service #7264

Merged
merged 4 commits into from
Sep 19, 2024
Merged

Refactor error service #7264

merged 4 commits into from
Sep 19, 2024

Conversation

ljowen
Copy link
Contributor

@ljowen ljowen commented Aug 29, 2024

What this PR does

Fixes #7246

Remove Rollbar error service. Change error service to be instantiated externally and passed in at startup time.
Add init function to ErrorService interface which receives config

Test me

  • Unit tests added
  • See TerriaMap branch with Sentry implementation

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/.
  • I've updated CHANGES.md with what I changed.
  • I've provided instructions in the PR description on how to test this PR.

- remove rollbar service
- ErrorService now passed in as a startOption, configuration passed to init function called on the service.
Copy link
Contributor

@nf-s nf-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks @ljowen !

Just one small comment about CHANGES.md

CHANGES.md Outdated Show resolved Hide resolved
@ljowen ljowen merged commit a21ecf7 into main Sep 19, 2024
9 checks passed
@ljowen ljowen deleted the error-service-refactor branch September 19, 2024 04:53
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.

Configurable Error service
2 participants