Print init errors

This commit is contained in:
Andras Schmelczer 2025-03-29 12:25:24 +00:00
parent b3e98d32b6
commit 81c4cc991c
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 20 additions and 7 deletions

View file

@ -29,7 +29,7 @@ async fn main() -> ExitCode {
match result {
Ok(()) => ExitCode::SUCCESS,
Err(e) => {
eprintln!("Failed to set up logging: {e}");
eprintln!("{}", e.serialize().to_string());
ExitCode::FAILURE
}
}