Reduce db retry log on failure

pull/5138/head
Chocobozzz 2022-07-13 10:59:55 +02:00
parent 39d117a47d
commit e0f49a19ea
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ function retryTransactionWrapper <T> (
.catch(err => callback(err)) .catch(err => callback(err))
}) })
.catch(err => { .catch(err => {
logger.error(`Cannot execute ${functionToRetry.name} with many retries.`, { err }) logger.warn(`Cannot execute ${functionToRetry.name} with many retries.`, { err })
throw err throw err
}) })
} }