From 4271e2668f9edbf14eb24ad54ebdd3dae3ac00eb Mon Sep 17 00:00:00 2001 From: Cyberes Date: Sat, 18 Mar 2023 13:59:55 -0600 Subject: [PATCH] logging --- matrix_gpt/bot/callbacks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix_gpt/bot/callbacks.py b/matrix_gpt/bot/callbacks.py index 87ea59e..b85e12b 100644 --- a/matrix_gpt/bot/callbacks.py +++ b/matrix_gpt/bot/callbacks.py @@ -190,6 +190,7 @@ class Callbacks: # f"commands a second time).") if event.server_timestamp > self.startup_ts: + logger.critical(f'Decryption failure for event {event.event_id} in room {room.room_id}') await react_to_event(self.client, room.room_id, event.event_id, "❌ 🔐") async def unknown(self, room: MatrixRoom, event: UnknownEvent) -> None: