diff --git a/src/main.rs b/src/main.rs index f62c9bb..b1b3b40 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,6 +44,7 @@ pub async fn build_bot() -> anyhow::Result<()> { }, on_error: |error| { Box::pin(async move { + tracing::error!(?error); if let poise::FrameworkError::Command { ctx, .. } = error { let _ = ctx .send(