New Messaging for Tool Form Modal Errors#19562
New Messaging for Tool Form Modal Errors#19562hujambo-dunia wants to merge 3 commits intogalaxyproject:devfrom
Conversation
Added clarity for errors before Job ID or Dataset ID creation: * Componentized for: default (ErrorPlugin) or third-party (Sentry) * Extensible for future user error-tracking (Event-ID) information Reported by @hexylena in issue galaxyproject#17560
davelopez
left a comment
There was a problem hiding this comment.
Remember you can run make client-format to fix all the formatting issues.
| const errorReportingAvailable = computed(() =>{ | ||
| const Galaxy = getGalaxyInstance(); | ||
| if (!!Galaxy.Sentry.isInitialized) { | ||
| return "Your error has been logged in Sentry to improve your experience."; |
There was a problem hiding this comment.
I wouldn't explicitly mention Sentry, users may not know what it is. Maybe something like:
| return "Your error has been logged in Sentry to improve your experience."; | |
| return "The error has been logged in our issue tracker system, and our team is investigating to fix it as soon as possible."; |
Or something similar :)
|
Users don't know what Sentry is, and this is also not logged to Sentry at all, as it is not a bug but a response to a user action that isn't possible. All the actionable information is in the message, but it could be explained better. My suggestion
was to create a component that can expand on the error message by explaining what The link with Sentry is for when there is actually a bug (a.k.a unhandled exception), for that you'd have to augment the backend response with the backend's sentry clients |
|
|
||
| const errorReportingAvailable = computed(() =>{ | ||
| const Galaxy = getGalaxyInstance(); | ||
| if (!!Galaxy.Sentry.isInitialized) { |
There was a problem hiding this comment.
This just means we have a sentry client that is able to submit client errors, but that doesn't mean entirely expected things like this error are captured in sentry.
Your error has been logged in Sentry to improve your experience.Added clarity for errors before Job ID or Dataset ID creation:
Reported by @hexylena in issue
#17560
How to test the changes?
(Select all options that apply)
License