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

Handle database errors in one place #129

Open
p5nbTgip0r opened this issue Apr 21, 2021 · 0 comments
Open

Handle database errors in one place #129

p5nbTgip0r opened this issue Apr 21, 2021 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@p5nbTgip0r
Copy link
Member

Database errors sometimes get sent to Discord due to error handling code varying for each command. Any MongoDB errors should get intercepted, logged, then mapped to a different exception with a cleaner message in a central place.

@p5nbTgip0r p5nbTgip0r added the bug Something isn't working label Apr 21, 2021
@p5nbTgip0r p5nbTgip0r added this to the 2.0.0 milestone Apr 21, 2021
@cascer1 cascer1 added the enhancement New feature or request label Apr 21, 2021
@p5nbTgip0r p5nbTgip0r removed this from the 2.0.0 milestone Jul 28, 2021
@github-project-automation github-project-automation bot moved this to 🆕 New in Diabot backlog Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants