diff options
author | Christian Duerr <contact@christianduerr.com> | 2018-11-08 22:14:39 +0100 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2018-11-10 18:19:38 +0100 |
commit | 49e91041859bd032b0bb9d430a99e21071076531 (patch) | |
tree | 2c2fff6fc57116370aaf470ba56c7bfca3531e04 | |
parent | 7e752cf58e935797049013d84172bffa5668d773 (diff) | |
download | alacritty-49e91041859bd032b0bb9d430a99e21071076531.tar.gz alacritty-49e91041859bd032b0bb9d430a99e21071076531.zip |
Use Display formatting for file creation errors
-rw-r--r-- | src/logging.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |