Print Runtime errors to stderr
This commit is contained in:
parent
ea7c239e1f
commit
993f83a31b
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ pub fn generate_runtime_setup<'a, B>(name: Name, version: Version<'a>, about: Ab
|
|||
|
||||
Runtime::new(builder(Runtime::get_default_cli_builder(name, version, about)))
|
||||
.unwrap_or_else(|e| {
|
||||
println!("Could not set up Runtime");
|
||||
println!("{:?}", e);
|
||||
eprintln!("Could not set up Runtime");
|
||||
eprintln!("{:?}", e);
|
||||
trace_error_dbg(&e);
|
||||
exit(1);
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue