-
Notifications
You must be signed in to change notification settings - Fork 20
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
Improve error messages/notifications #65
Comments
From what I can tell, it seems errors from the backend are routed through 1 of 5 classes on the frontend: Looking through the backend, for this conversation I'm just going to focus on the HTTP API handlers since the bulk of errors are emitted there. In terms of payload text, what do you have in mind when it comes to improving the emitted errors since they typically consist of various Do you have a specific example I could work off of? |
I don't have any specific examples - keep in mind that this issue was filed in April 2020, and things on both the frontend and backend side have already changed (improved, hopefully) a fair amount since then as well. I do think there are still cases where we can display better error messages, but I don't have any specifics in mind right now. I can take a look around and see if I can find things that need improvement. |
Good point :P
Sounds good, I appreciate it. I'll keep looking as well. |
#59 (comment)
As in the pull request review above, the error messages sent from ContainerJFR could use some improvement. In some cases errors are only reflected in response status codes, with no meaningful payload text. In other cases there is payload text included, but this text may be simply raw, unformatted text (no JSON wrapping etc.), and with no particular well-established conventions. This makes it difficult for ContainerJFR Web or other clients to consume these messages and produce meaningful notifications for end users.
The text was updated successfully, but these errors were encountered: