Don't continue to log if socket is returning unknown status

pull/272/head
Scott Nonnenberg 6 years ago
parent ca5132f712
commit 009c58749b

@ -206,11 +206,8 @@
this.onEmpty();
break;
default:
window.log.error(
'Whisper.InboxView::startConnectionListener:',
'Unknown web socket status:',
status
);
// We also replicate empty here
this.onEmpty();
break;
}
}, 1000);

Loading…
Cancel
Save