You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
andrewazores
changed the title
[Bug] Error message displayed when uploading duplicate JMX SSL cert is raw HTTP response
[Bug] Raw HTTP error response displayed when uploading actions fail
Sep 28, 2023
Since this is not a WebSocket notification like most other graphical notifications that appear, we would need callers to pass in more details for notifications like the title that should appear on the notification. We could try to parse the detail body as JSON and use the detail.data.reason as the message to display, and if that fails simply show detail directly.
Current Behavior
When ex. uploading a JMX SSL cert, if the upload fails for any reason, the notification popup displayed shows the raw HTTP response JSON payload.
Expected Behavior
The error message should be nicely formatted, and more concise/informative.
Steps To Reproduce
Environment
No response
Anything else?
The text was updated successfully, but these errors were encountered: