improve logging, remove failed connection

This commit is contained in:
Ferdinand Schober
2024-09-07 18:01:08 +02:00
parent 7186ae40b1
commit 7f0815facf
4 changed files with 11 additions and 5 deletions

View File

@@ -142,7 +142,7 @@ async fn handle_capture_event(
};
if let Err(e) = conn.send(event, handle).await {
log::warn!("failed to connect, releasing capture: {e}");
log::warn!("releasing capture: {e}");
capture.release().await?;
}
Ok(())