rolled back error logging
This commit is contained in:
parent
69c9664eb5
commit
fe760a257d
1 changed files with 25 additions and 30 deletions
|
@ -86,9 +86,7 @@ pub async fn send_to_wc_task(
|
|||
mut sender: SplitSink<WebSocketStream<MaybeTlsStream<TcpStream>>, tokio_tungstenite::tungstenite::Message>
|
||||
) {
|
||||
info!("From app is closed: {:?}", from_app.is_closed());
|
||||
loop {
|
||||
match from_app.recv().await {
|
||||
Ok(msg) => {
|
||||
while let Ok(msg) = from_app.recv().await {
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
info!("Sending message to socket!");
|
||||
|
@ -117,9 +115,6 @@ pub async fn send_to_wc_task(
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Err(e) => error!("Send to WC had a recv error! {e}"),
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue