mirror of https://github.com/Chocobozzz/PeerTube
Reduce db retry log on failure
parent
39d117a47d
commit
e0f49a19ea
|
@ -45,7 +45,7 @@ function retryTransactionWrapper <T> (
|
||||||
.catch(err => callback(err))
|
.catch(err => callback(err))
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
logger.error(`Cannot execute ${functionToRetry.name} with many retries.`, { err })
|
logger.warn(`Cannot execute ${functionToRetry.name} with many retries.`, { err })
|
||||||
throw err
|
throw err
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue