From 49e91041859bd032b0bb9d430a99e21071076531 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Thu, 8 Nov 2018 22:14:39 +0100 Subject: Use Display formatting for file creation errors --- src/logging.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logging.rs b/src/logging.rs index 813f1334..71eaf822 100644 --- a/src/logging.rs +++ b/src/logging.rs @@ -184,7 +184,7 @@ impl OnDemandLogFile { let _ = writeln!(io::stdout(), "Created log file at {:?}", self.path); } Err(e) => { - let _ = writeln!(io::stdout(), "Unable to create log file: {:?}", e); + let _ = writeln!(io::stdout(), "Unable to create log file: {}", e); return Err(e); } } -- cgit v1.2.3-54-g00ecf