Merge pull request #673 from Jellyfrog/patch-2

Remove unneeded WS logging
This commit is contained in:
Daniel García 2019-10-17 20:21:47 +02:00 committed by GitHub
commit 95a7ffdf6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,8 +157,6 @@ impl Handler for WSHandler {
}
fn on_message(&mut self, msg: Message) -> ws::Result<()> {
info!("Server got message '{}'. ", msg);
if let Message::Text(text) = msg.clone() {
let json = &text[..text.len() - 1]; // Remove last char