From eae3092585e52236aab7d5b113431537f843cf8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20My=C5=9Bliwiec?= Date: Fri, 5 Jul 2024 13:33:23 +0200 Subject: [PATCH] fix: remove duplicated logs --- lib/common/mongoose.utils.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/common/mongoose.utils.ts b/lib/common/mongoose.utils.ts index f0e70c55..39bbe6a5 100644 --- a/lib/common/mongoose.utils.ts +++ b/lib/common/mongoose.utils.ts @@ -27,12 +27,6 @@ export function handleRetry( retryWhen((e) => e.pipe( scan((errorCount, error) => { - logger.error( - `Unable to connect to the database. Retrying (${ - errorCount + 1 - })...`, - '', - ); const verboseMessage = verboseRetryLog ? ` Message: ${error.message}.` : '';