diff --git a/src/matrix_applicationbot/classes/bot.py b/src/matrix_applicationbot/classes/bot.py index 0cbcc5c..f5c959a 100644 --- a/src/matrix_applicationbot/classes/bot.py +++ b/src/matrix_applicationbot/classes/bot.py @@ -631,7 +631,7 @@ class ApplicationBot: target_room_id, "m.room.message", event.source["content"] ) except Exception as e: - logging.error(f"Failed to relay message: {e}") + logging.error(f"Failed to relay message of type {type(event)}: {e}") logging.debug(f"Event source: {event.source}") async def help_command(self, room, sender):