projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49799b1
)
Fix transaction retryer error log
author
Chocobozzz
<me@florianbigard.com>
Wed, 27 Jun 2018 07:45:06 +0000
(09:45 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Wed, 27 Jun 2018 07:45:06 +0000
(09:45 +0200)
server/helpers/database-utils.ts
patch
|
blob
|
history
diff --git
a/server/helpers/database-utils.ts
b/server/helpers/database-utils.ts
index ededa79016fb3e3be8c79274eb390d5788805895..11304cafb684988f4c7ebedd88f7d05d0ef62290 100644
(file)
--- a/
server/helpers/database-utils.ts
+++ b/
server/helpers/database-utils.ts
@@
-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
})
}