From e406af4c49d1abd3fcd6ed087774ce4f95ac5731 Mon Sep 17 00:00:00 2001 From: Baud Date: Sat, 1 Jun 2024 16:04:02 +0100 Subject: [PATCH] Even more debugging --- index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.ts b/index.ts index 27dab80..21ae086 100644 --- a/index.ts +++ b/index.ts @@ -120,6 +120,13 @@ function handle_message(message: Partial) { }, 1000) } }) + .catch((err) => { + console.log(JSON.stringify(err)) + notifyClients({ + event: "log", + message: JSON.stringify(err) + }) + }) }, 1000) })