Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
log full error context when supervisor exits (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc-msft authored May 13, 2021
1 parent 584f680 commit 69f12f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/agent/onefuzz-supervisor/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ fn run(opt: RunOpt) -> Result<()> {
let result = rt.block_on(run_agent(config));

if let Err(err) = &result {
error!("error running supervisor agent: {}", err);
error!("error running supervisor agent: {:?}", err);
if let Err(err) = failure::save_failure(err) {
error!("unable to save failure log: {}", err);
error!("unable to save failure log: {:?}", err);
}
}

Expand Down

0 comments on commit 69f12f9

Please sign in to comment.