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) })