Reduce db retry log on failure
This commit is contained in:
parent
39d117a47d
commit
e0f49a19ea
|
@ -45,7 +45,7 @@ function retryTransactionWrapper <T> (
|
|||
.catch(err => callback(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
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue