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
@@ -78,7 +78,7 @@ impl EventHandler for Handler {
contest.counts.len()
),
Err(err) => error!(
"Error while running contest in channel {}: {:?}",
"Error while running contest in channel {}: {}",
msg.channel_id.0, err
),
};