Skip to content

Commit

Permalink
log error
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Mar 10, 2024
1 parent 200cf65 commit ea30fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')})
Expand Down

0 comments on commit ea30fe2

Please sign in to comment.