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
If internet connectivity is lost (even for couple of seconds) during a SignalR hub connection then a RuntimeException is thrown. Which causes the entire application to crash. Instead can we throw some sort of network exception?
Sample existing code:
if (this.state.hubConnectionState != HubConnectionState.CONNECTING) {
return Completable.error(new RuntimeException("Connection closed while trying to connect."));
}