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

Extract debug info for traceback #1002

Closed
bbangert opened this issue Sep 6, 2017 · 0 comments
Closed

Extract debug info for traceback #1002

bbangert opened this issue Sep 6, 2017 · 0 comments
Assignees

Comments

@bbangert
Copy link
Member

bbangert commented Sep 6, 2017

Per @alexcrichton's comment, the state machine ShutdownCleanup should print the fully extracted error like the code does here:

if let Err(e) = res {
let mut error = e.to_string();
for err in e.iter().skip(1) {
error.push_str("\n");
error.push_str(&err.to_string());
}
error!("{}: {}", addr, error);
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant