mirror of
https://github.com/MeexReay/bRAC.git
synced 2025-05-06 05:28:02 +03:00
move read messages error to println
This commit is contained in:
parent
233a5eb9d5
commit
88b66af84e
@ -205,9 +205,7 @@ pub fn recv_tick(ctx: Arc<Context>) -> Result<(), Box<dyn Error>> {
|
||||
}
|
||||
},
|
||||
Err(e) => {
|
||||
let msg = format!("Read messages error: {}", e.to_string()).to_string();
|
||||
ctx.add_message(ctx.config(|o| o.max_messages), vec![msg.clone()]);
|
||||
add_chat_message(ctx.clone(), msg.clone());
|
||||
println!("Read messages error: {}", e.to_string())
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user