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

Clean up error messages returned to client #2

Open
jdknives opened this issue May 9, 2023 · 0 comments
Open

Clean up error messages returned to client #2

jdknives opened this issue May 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jdknives
Copy link
Member

jdknives commented May 9, 2023

Most of the services we currently run seem to return the unmodified errors that may occur to the user. This exposes details of the cluster and implementation details we may not necessarily want to share with the user. Even if we do, these errors are difficult to understand for the user and should be cleaned up. Instead of just returning the plain error message, we should log the plain error message for us to use in analysing the problem and then returned a more generic error to the user.

@jdknives jdknives added the enhancement New feature or request label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant