mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-26 06:59:28 +02:00
Display the entire error chain
This commit is contained in:
parent
e25228e5a1
commit
8551a815c4
@ -443,7 +443,7 @@ fn main() {
|
||||
}
|
||||
Err(error) => {
|
||||
error!("{}", error);
|
||||
if let Some(cause) = error.cause() {
|
||||
for cause in (&error as &Fail).iter_causes() {
|
||||
error!("Caused by: {}", cause);
|
||||
}
|
||||
exit(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user