From ea30fe299962fa2aac2059b0cb22551752b11980 Mon Sep 17 00:00:00 2001 From: Lluis Date: Sun, 10 Mar 2024 23:15:12 +0100 Subject: [PATCH] log error --- handlers/stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/stream.js b/handlers/stream.js index cc85f59..5f3241f 100644 --- a/handlers/stream.js +++ b/handlers/stream.js @@ -53,7 +53,7 @@ class Stream { message_id: result.messageId, parse_mode: 'Markdown' } - await telegramBot.editMessageText(this._getText(result), options).catch(() => {}) + await telegramBot.editMessageText(this._getText(result), options).catch((err) => { console.error(`cannot edit message: ${err}`)}) await BrowserService.startAndWarmUpBrowserIfNeeded().catch(() => { console.error('startAndWarmUpBrowserIfNeeded on stillLive')}) } else if (result && result.type === 'notLive') { await BrowserService.closeBrowserIfNeeded().catch(() => { console.error('closeBrowserIfNeeded on notLive')})