From 97dda4dce850861853a3e8e4ea01c008fa582c36 Mon Sep 17 00:00:00 2001 From: akagiyuu Date: Fri, 28 Nov 2025 21:56:23 +0700 Subject: [PATCH] fix: log error --- src/main.rs | 1 + 1 file changed, 1 insertion(+) 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(