aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/database-utils.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-27 09:45:06 +0200
committerChocobozzz <me@florianbigard.com>2018-06-27 09:45:06 +0200
commit1e11f67be4d1c1ed93b298798ffdc81a2bd50a4e (patch)
tree37faa4232a7942431b93bf90cac2be0145039b2a /server/helpers/database-utils.ts
parent49799b165e3cd547f1dbb23bd31369baca0b39da (diff)
downloadPeerTube-1e11f67be4d1c1ed93b298798ffdc81a2bd50a4e.tar.gz
PeerTube-1e11f67be4d1c1ed93b298798ffdc81a2bd50a4e.tar.zst
PeerTube-1e11f67be4d1c1ed93b298798ffdc81a2bd50a4e.zip
Fix transaction retryer error log
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}