diff --git a/metrics/src/logreceiver.rs b/metrics/src/logreceiver.rs index f9e0ff4..b5676fd 100644 --- a/metrics/src/logreceiver.rs +++ b/metrics/src/logreceiver.rs @@ -39,7 +39,10 @@ async fn receive_log( session.text("{\"success\": false}").await.unwrap(); } - _ => {} + e => { + warn!("Unhandled message type: {:#?}", e); + session.text("{\"success\": false}").await.unwrap(); + } } } });