diff --git a/server/helpers/database-utils.ts b/server/helpers/database-utils.ts index ededa7901..11304cafb 100644 --- a/server/helpers/database-utils.ts +++ b/server/helpers/database-utils.ts @@ -35,7 +35,7 @@ function retryTransactionWrapper ( .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 }) }