Skip to content

Commit

Permalink
Don't continue to log if socket is returning unknown status
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Mar 13, 2019
1 parent ca5132f commit 009c587
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions js/views/inbox_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 009c587

Please sign in to comment.