aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2018-11-08 22:14:39 +0100
committerChristian Duerr <contact@christianduerr.com>2018-11-10 18:19:38 +0100
commit49e91041859bd032b0bb9d430a99e21071076531 (patch)
tree2c2fff6fc57116370aaf470ba56c7bfca3531e04
parent7e752cf58e935797049013d84172bffa5668d773 (diff)
downloadalacritty-49e91041859bd032b0bb9d430a99e21071076531.tar.gz
alacritty-49e91041859bd032b0bb9d430a99e21071076531.zip
Use Display formatting for file creation errors
-rw-r--r--src/logging.rs2
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);
}
}