1
0
Fork 0

Fix transaction retryer error log

This commit is contained in:
Chocobozzz 2018-06-27 09:45:06 +02:00
parent 49799b165e
commit 1e11f67be4
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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
}) })
} }