From 009c58749ba979aa611c497bd411dff5f3078f78 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Tue, 26 Feb 2019 14:14:19 -0800 Subject: [PATCH] Don't continue to log if socket is returning unknown status --- js/views/inbox_view.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/js/views/inbox_view.js b/js/views/inbox_view.js index b621480ccb..317ff4b2b7 100644 --- a/js/views/inbox_view.js +++ b/js/views/inbox_view.js @@ -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);