Don't continue to log if socket is returning unknown status
This commit is contained in:
parent
ca5132f712
commit
009c58749b
1 changed files with 2 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue