From 199ef49dd90de352799a839accc5847c7827e8aa Mon Sep 17 00:00:00 2001 From: pvillaverde <31769405+pvillaverde@users.noreply.github.com> Date: Thu, 16 May 2024 22:31:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AC=20=E2=9C=8F=EF=B8=8F=20Fix=20logs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tasks/refreshPodcasts.ts | 2 +- src/tasks/refreshYoutube.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tasks/refreshPodcasts.ts b/src/tasks/refreshPodcasts.ts index a486a20..a234b10 100644 --- a/src/tasks/refreshPodcasts.ts +++ b/src/tasks/refreshPodcasts.ts @@ -65,7 +65,7 @@ export default async function refreshPodcasts() { } logger.info(`${index + 1}/${podcasts.length}`, `Recuperados ${entries.length} episodios de ${item.title}.`); } catch (error) { - logger.fatal(`Erro ao actualizar o blogue ${item.title}`); + logger.fatal(`Erro ao actualizar o podcast ${item.title}`); logger.fatal(error); } } diff --git a/src/tasks/refreshYoutube.ts b/src/tasks/refreshYoutube.ts index 94d8ef1..7c8ebe7 100644 --- a/src/tasks/refreshYoutube.ts +++ b/src/tasks/refreshYoutube.ts @@ -74,7 +74,7 @@ export default async function refreshYoutube() { // Rate Limit 1/sec await new Promise((resolve) => setTimeout(resolve, 1000)); } catch (error) { - logger.error(`Erro ao actualizar o blogue ${item.title}`); + logger.error(`Erro ao actualizar a canle de YouTube ${item.title}`); logger.error(error); } }