fix socket

This commit is contained in:
ntr
2019-07-10 18:33:21 +10:00
parent e5b2eb48c9
commit fdee5e3a0f
2 changed files with 25 additions and 49 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ pub fn receive(data: Vec<u8>, db: &Db, _client: &mut MnmlWs, begin: Instant, acc
},
Err(e) => {
info!("{:?}", e);
Err(err_msg("invalid message"))
Err(format_err!("invalid message data={:?}", data))
},
}
}