Fix transaction retryer error log

pull/734/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ function retryTransactionWrapper <T> (
.catch(err => callback(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
})
}