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