aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/database-utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/database-utils.ts')
-rw-r--r--server/helpers/database-utils.ts2
1 files changed, 1 insertions, 1 deletions
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 <T> (
35 .catch(err => callback(err)) 35 .catch(err => callback(err))
36 }) 36 })
37 .catch(err => { 37 .catch(err => {
38 logger.error('Cannot execute %s with many retries.', functionToRetry.toString(), { err }) 38 logger.error(`Cannot execute ${functionToRetry.name} with many retries.`, { err })
39 throw err 39 throw err
40 }) 40 })
41} 41}