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
Looking at query.coffee, it looks like if the underlying connection emits an 'error' event (e.g., because of network connectivity issues), the error event never makes it to the callback on Query. Is this intentional?
Basically, I'm using the callback API and was expecting this to catch all errors, but it isn't. My workaround is to also add a listener on 'error' to the connection, but seems like the API would be nicer if users didn't have to do this ...
The text was updated successfully, but these errors were encountered:
Looking at query.coffee, it looks like if the underlying connection emits an 'error' event (e.g., because of network connectivity issues), the error event never makes it to the callback on Query. Is this intentional?
Basically, I'm using the callback API and was expecting this to catch all errors, but it isn't. My workaround is to also add a listener on 'error' to the connection, but seems like the API would be nicer if users didn't have to do this ...
The text was updated successfully, but these errors were encountered: