fix(stub): downgrade websocket disconnect logs to warn/info
This commit is contained in:
1 parent
efcab4a7b4
commit
917a9058f9
1 file changed
+2
-2
+2
-2
@@ -106,7 +106,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
.await
|
.await
|
||||||
.is_err()
|
.is_err()
|
||||||
{
|
{
|
||||||
tracing::error!("Failed to write to websocket");
|
tracing::warn!("Failed to write to websocket (connection closed)");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -130,7 +130,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
let _ = stdout.flush().await;
|
let _ = stdout.flush().await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tracing::error!("Websocket read loop exited");
|
tracing::info!("Websocket read loop exited");
|
||||||
});
|
});
|
||||||
|
|
||||||
tokio::select! {
|
tokio::select! {
|
||||||
|
|||||||
Reference in new issue
Block a user