From 15b7b823c51375415acc9941b12350a93624fe61 Mon Sep 17 00:00:00 2001 From: Tobias Frech Date: Fri, 5 Jan 2024 18:05:51 +0100 Subject: [PATCH] Update Main.ts for better logging of unhandled type --- src/Main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.ts b/src/Main.ts index c69eb9c1..0712a0fa 100644 --- a/src/Main.ts +++ b/src/Main.ts @@ -841,7 +841,7 @@ export class Main { // Handle a m.room.message event if (ev.type !== "m.room.message" || !ev.content) { - log.debug(`${ev.event_id} ${ev.room_id} cannot be handled`); + log.debug(`${ev.event_id} ${ev.room_id} cannot be handled because it is ${ev.type}`); return; }