From dfe6cea0739fe162be95ab0023aef2aa21c94416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Sun, 11 Apr 2021 22:52:01 +0200 Subject: add error log --- mumd/src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mumd/src/main.rs b/mumd/src/main.rs index 341300e..f298070 100644 --- a/mumd/src/main.rs +++ b/mumd/src/main.rs @@ -111,7 +111,10 @@ async fn receive_commands( let response = match rx.await { Ok(r) => r, - Err(_) => Ok(None), + Err(_) => { + error!("Internal command response sender dropped"); + Ok(None) + } }; let mut serialized = BytesMut::new(); bincode::serialize_into((&mut serialized).writer(), &response).unwrap(); -- cgit v1.2.1