diff --git a/src/bin/spamcontest.rs b/src/bin/spamcontest.rs index 5af1cf3..519a95c 100644 --- a/src/bin/spamcontest.rs +++ b/src/bin/spamcontest.rs @@ -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); } } diff --git a/src/lib.rs b/src/lib.rs index 24faae0..7e2c6ca 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 ), };