1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Use Display formatting for file creation errors

This commit is contained in:
Christian Duerr 2018-11-08 22:14:39 +01:00
parent 7e752cf58e
commit 49e9104185
No known key found for this signature in database
GPG key ID: 85CDAE3C164BA7B4

View file

@ -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);
}
}