mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-20 19:50:55 +03:00
improve logging, remove failed connection
This commit is contained in:
@@ -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(())
|
||||
|
||||
Reference in New Issue
Block a user