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
At the moment we have lots of promises marked with void , they should be handled at all time (.catch or .then with rejection handler).
All current .catch should be reviewed so that the error is best shown to the user depending on the context.
You can use the useErrorHandling to help get a string from messages. And use openAlertSnackbar to display it. Try to give the user as much info as possible. Strings comming from the backend or JS Exceptions don't need to be translated.
The text was updated successfully, but these errors were encountered:
At the moment we have lots of promises marked with
void
, they should be handled at all time (.catch or .then with rejection handler).All current
.catch
should be reviewed so that the error is best shown to the user depending on the context.You can use the
useErrorHandling
to help get a string from messages. And useopenAlertSnackbar
to display it. Try to give the user as much info as possible. Strings comming from the backend or JS Exceptions don't need to be translated.The text was updated successfully, but these errors were encountered: