use Display format for logging serenity errors

This commit is contained in:
2022-07-17 21:06:01 +02:00
parent 678fd36868
commit 797db1ffaa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ async fn main() {
});
if let Err(err) = client.start().await {
error!("An error occurred while running the client: {:?}", err);
error!("An error occurred while running the client: {}", err);
process::exit(2);
}
}