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

This commit is contained in:
Scott Nonnenberg 2019-02-26 14:14:19 -08:00
parent ca5132f712
commit 009c58749b
1 changed files with 2 additions and 5 deletions

View File

@ -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);