Remove unneeded WS logging

This commit is contained in:
Jellyfrog 2019-10-17 17:15:11 +02:00 committed by GitHub
parent cd8acc2e8c
commit ebc47dc161
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