From 6b07c0aa0a987b6d14c130cfa46d7d99f7caa2e3 Mon Sep 17 00:00:00 2001 From: retoor Date: Thu, 13 Feb 2025 09:31:50 +0000 Subject: [PATCH] chore: replace placeholder example content with initial project scaffold --- src/snekbot/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/snekbot/bot.py b/src/snekbot/bot.py index 800f157..88340b1 100644 --- a/src/snekbot/bot.py +++ b/src/snekbot/bot.py @@ -95,8 +95,8 @@ class Bot: await self.on_mention(data.username, data.user_nick, data.channel_uid, data.message) else: await self.on_message(data.username, data.user_nick, data.channel_uid, data.message) - except AttributeError: - logger.debug("Event unhandled regarding message: " + data.message) + except AttributeError as ex: + logger.exception(ex) except Exception as ex: logger.exception(ex)