mirror of
https://github.com/MeexReay/bRAC.git
synced 2025-05-06 13:38:04 +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) => {
|
Err(e) => {
|
||||||
let msg = format!("Read messages error: {}", e.to_string()).to_string();
|
println!("Read messages error: {}", e.to_string())
|
||||||
ctx.add_message(ctx.config(|o| o.max_messages), vec![msg.clone()]);
|
|
||||||
add_chat_message(ctx.clone(), msg.clone());
|
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user