log full error context when supervisor exits
@@ -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);
}
}
