bricaud / graphexp

Interactive visualization of the Gremlin graph database with D3.js
Apache License 2.0
780 stars 215 forks source link

Websocket error handler #54

Closed antonyscerri closed 5 years ago

antonyscerri commented 5 years ago

Hi

This PR builds upon my other one by adding explicit detection of non 2XX codes in the websocket response. Hopefully this combined with the other changes is overall more reliable. One issue the message that comes back may not be a simple string so the UI could have a rather long string depending on the graph database used and the error response.

Tony

bricaud commented 5 years ago

Thank you very much @antonyscerri !