From d160458642bceca4ec75de2ef3033542ad7d53a3 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 10 Aug 2021 03:47:11 +0300 Subject: [PATCH] Update format.js --- scripts/format.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/format.js b/scripts/format.js index b7cce4d0e..cb3b407d0 100644 --- a/scripts/format.js +++ b/scripts/format.js @@ -72,12 +72,12 @@ async function updatePlaylist(playlist) { if (config.status) updateStatus(channel, null) if (config.resolution) updateResolution(channel, result.status.metadata) } else { - if (config.debug) log.print(` ${channel.url} (${result.status.reason})\n`) + if (config.debug) log.print(` ERR: ${channel.url} (${result.status.reason})\n`) if (config.status) updateStatus(channel, 'Offline') } }) .catch(err => { - if (config.debug) log.print(` ${channel.url} (${err.message})\n`) + if (config.debug) log.print(` ERR: ${channel.url} (${err.message})\n`) }) } if (!config.debug) bar.tick()