Fix quote escaping in errors
This commit is contained in:
parent
5c85aad311
commit
2950b0b9f8
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ pub fn ok_or_exit<T>(res: Result<T, String>) -> T {
|
|||
return match res {
|
||||
Ok(k) => k,
|
||||
Err(err) => {
|
||||
writeln!(io::stderr(), "Error: {:?}", err).unwrap();
|
||||
writeln!(io::stderr(), "Error: {}", err).unwrap();
|
||||
exit(1);
|
||||
}
|
||||
};
|
||||
|
|
Reference in a new issue