Merge pull request #4413 from jodh-intel/tools-full-err-output

tools: Enable extra detail on error
This commit is contained in:
Bin Liu 2022-06-09 13:52:08 +08:00 committed by GitHub
commit 05022975c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ fn real_main() -> Result<()> {
fn main() {
if let Err(e) = real_main() {
eprintln!("ERROR: {}", e);
eprintln!("ERROR: {:#?}", e);
exit(1);
}
}

View File

@ -282,7 +282,7 @@ fn real_main() -> Result<()> {
fn main() {
if let Err(e) = real_main() {
eprintln!("ERROR: {}", e);
eprintln!("ERROR: {:#?}", e);
exit(1);
}
exit(0);