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
{{ message }}
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
Currently if the user lost his connection or the request timed-out or the server goes down the client controllers do not handle this error as there is no response. Even if error handling is invoked res.data.message is not available, and there would be an angular error posted to the console(which the end user isn't watching). So end user experience is that he clicks a button and waits but nothing happens.
Such a scenario can be handled by adding an error handler for status code -1 and use the ui-notification to show an alert that the response failed.
Thoughts?
The text was updated successfully, but these errors were encountered:
Add error handle for failed requests(no response from server)
Using Notification.error to show error message
Added test for the notification in Auth Interceptor
Fixes#1556
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently if the user lost his connection or the request timed-out or the server goes down the client controllers do not handle this error as there is no response. Even if error handling is invoked res.data.message is not available, and there would be an angular error posted to the console(which the end user isn't watching). So end user experience is that he clicks a button and waits but nothing happens.
Such a scenario can be handled by adding an error handler for status code -1 and use the ui-notification to show an alert that the response failed.
Thoughts?
The text was updated successfully, but these errors were encountered: