From 37f6e3eb9ca52cc695db2d8285bc8e87a115d66a Mon Sep 17 00:00:00 2001 From: Konstantin Seiler Date: Wed, 29 Jan 2020 09:51:26 +1100 Subject: [PATCH] Print error message on connection failure. --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 4a74d229..8ee3b0c4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -484,7 +484,8 @@ impl Future for Main { progress = true; } Ok(Async::NotReady) => (), - Err(_) => { + Err(error) => { + error!("Could not connect to server: {}", error); self.connect = Box::new(futures::future::empty()); } }