Skip to content

Commit

Permalink
fix: remove duplicated logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Jul 5, 2024
1 parent 3817fbc commit eae3092
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/common/mongoose.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}.`
: '';
Expand Down

0 comments on commit eae3092

Please sign in to comment.