##// END OF EJS Templates
rust-chg: suppress panic while writing chg error to stderr...
Yuya Nishihara -
r40322:af52181f default
parent child Browse files
Show More
@@ -20,7 +20,7 b' use tokio_hglib::UnixClient;'
20
20
21 fn main() {
21 fn main() {
22 let code = run().unwrap_or_else(|err| {
22 let code = run().unwrap_or_else(|err| {
23 eprintln!("chg: abort: {}", err);
23 writeln!(io::stderr(), "chg: abort: {}", err).unwrap_or(());
24 255
24 255
25 });
25 });
26 process::exit(code);
26 process::exit(code);
General Comments 0
You need to be logged in to leave comments. Login now