fix(slack): use logger.exception to capture full traceback

This commit is contained in:
Re-bin
2026-02-22 15:38:19 +00:00
parent c53deecdb1
commit b93b77a485

View File

@@ -192,8 +192,8 @@ class SlackChannel(BaseChannel):
} }
}, },
) )
except Exception as e: except Exception:
logger.error("Error handling Slack message from {}: {}", sender_id, e) logger.exception("Error handling Slack message from {}", sender_id)
def _is_allowed(self, sender_id: str, chat_id: str, channel_type: str) -> bool: def _is_allowed(self, sender_id: str, chat_id: str, channel_type: str) -> bool:
if channel_type == "im": if channel_type == "im":