use Display format for logging serenity errors
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user