Fix log printing on main errors
This commit is contained in:
parent
dc41aeac14
commit
4c84269c03
@ -76,7 +76,7 @@ async fn main() {
|
|||||||
env_logger::init_from_env(lenv);
|
env_logger::init_from_env(lenv);
|
||||||
|
|
||||||
if let Err(err) = run().await {
|
if let Err(err) = run().await {
|
||||||
error!("{}", err);
|
error!("{:#}", err);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user