fix(stub): downgrade websocket disconnect logs to warn/info

This commit is contained in:
Riz Ashraf committed 2026-09-26 02:06:04 +01:00
1 parent efcab4a7b4
commit 917a9058f9
1 file changed
+2 -2
+2 -2
View File
@@ -106,7 +106,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.await
.is_err()
{
tracing::error!("Failed to write to websocket");
tracing::warn!("Failed to write to websocket (connection closed)");
break;
}
}
@@ -130,7 +130,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let _ = stdout.flush().await;
}
}
tracing::error!("Websocket read loop exited");
tracing::info!("Websocket read loop exited");
});
tokio::select! {