From 97008e5f9b00803f207944a7f8d9194e32e3b3b1 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 5 Jan 2016 16:31:20 +0100 Subject: [PATCH] Use unused variable, print debug output --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 1642dcdc..edd6ad24 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,6 +46,7 @@ fn main() { ImagLogger::init(&config).map_err(|e| { error!("Could not initialize logger"); + debug!("Could not initialize logger: {:?}", e); exit(1); }).ok();