-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error handling: Network error #329
Comments
+1 I've been waiting for the websockets to fix this one. Related to #93 The idea would be to have an indicator when the server is offline. Apache Jena's Fuseki, Riot WebIM, and other projects have a similar feature. |
@oliver-sanders not sure if the network connectivity indicator is enough to close this? Or should we do something else in case of network errors? |
It solves point 1, I think we could do with handling GraphQL errors better though. |
Related issue from Cylc UI Server: cylc/cylc-uiserver#68 |
Address the error component of #111
Handle:
Issues with communication to the UI Server typically manifest in the somewhat cryptic:
Presumably the error returned isn't valid JSON, we should catch the JSON.parse error so we can present / handle the actual error properly.
Pull requests welcome!
The text was updated successfully, but these errors were encountered: