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

View file

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