Skip to content

Add application error handler to report unhandled and network issues#382

Merged
joanagmaia merged 1 commit intomainfrom
improvement/error-interceptor
Dec 23, 2022
Merged

Add application error handler to report unhandled and network issues#382
joanagmaia merged 1 commit intomainfrom
improvement/error-interceptor

Conversation

@joanagmaia
Copy link
Copy Markdown
Contributor

Changes proposed ✍️

  • Send all errors to log rocket. These error will then be alerted in a slack channel
  • Will only be thrown for production

Tests can be seen here https://app.logrocket.com/nm6fil/crowddev/issues/ignored or in the #frontend-alerts new channels

Checklist ✅

  • Label appropriately with Feature, Enhancement, or Bug.
  • Tests are passing.
  • New backend functionality has been unit-tested.
  • Environment variables have been updated:
    • Local frontend configuration: frontend/.env.dist.local, frontend/.env.dist.composed.
    • Local backend: backend/.env.dist.local, backend/.env.dist.composed.
    • Configuration docs have been updated.
    • Team members only: update environment variables in override, staging and production env. files and trigger update config script.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.
  • All changes have been tested in a staging site.
  • All changes are working locally running crowd.dev's Docker local environment.

@joanagmaia joanagmaia added the Improvement Created by Linear-GitHub Sync label Dec 23, 2022
@joanagmaia joanagmaia self-assigned this Dec 23, 2022
Copy link
Copy Markdown
Contributor

@mariobalca mariobalca left a comment

Choose a reason for hiding this comment

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

Thanks for doing this 🙌
Looking forward to have it running in production
Let's 🚢 it!

@joanagmaia joanagmaia merged commit c292284 into main Dec 23, 2022
@joanagmaia joanagmaia deleted the improvement/error-interceptor branch December 23, 2022 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants