Fix transaction retryer error log
This commit is contained in:
parent
49799b165e
commit
1e11f67be4
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ function retryTransactionWrapper <T> (
|
||||||
.catch(err => callback(err))
|
.catch(err => callback(err))
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
logger.error('Cannot execute %s with many retries.', functionToRetry.toString(), { err })
|
logger.error(`Cannot execute ${functionToRetry.name} with many retries.`, { err })
|
||||||
throw err
|
throw err
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue