mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-10-30 11:52:24 +03:00
Fix error log when updating redundancy
This commit is contained in:
parent
ab87af1155
commit
a18bb55e9b
@ -31,7 +31,7 @@ async function updateRedundancy (req: express.Request, res: express.Response) {
|
||||
|
||||
// Async, could be long
|
||||
removeRedundancyOf(server.id)
|
||||
.catch(err => logger.error('Cannot remove redundancy of %s.', server.host, err))
|
||||
.catch(err => logger.error('Cannot remove redundancy of %s.', server.host, { err }))
|
||||
|
||||
return res.sendStatus(204)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user