kuzzle-admin-console
kuzzle-admin-console copied to clipboard
Display the error message in the error toast
Actually when an error occur, a generic toast is displayed indicating that the full error has been printed in the console.
The toast should include Kuzzle error message and print the complete error in the console
The toast is not really generic, for each error we display a customizable and understandable message, indicating what didn't work.
IMHO it is necessary to differentiate between dev and non dev users: the first ones know how to open the console of their browser, the second ones don't need a very detailed error.
I don't agree because even non-dev people can copy paste the error message and send it to us for example.
Also Kuzzle error messages are meant to be read by end users so they gave give them information they need to understand what goes wrong
interesting point... I think that not all error are "pretty-printable" on a toast (the toast is often too small to show them) but the idea of Kuzzle returning human-readable errors that the user can copy-paste to us is nice.
Maybe the toast should be bigger then?
Error messages are not that big: https://docs.kuzzle.io/core/2/api/essentials/error-codes/api/
Yes, I think the toast should definitely be bigger
May it be possible to have a small copy/paste btn?
So that toast can still remain small and we can get the full error message ?