1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-05-04 14:37:25 +00:00

Merge pull request 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
src/tools
agent-ctl/src
trace-forwarder/src

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