aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-26 17:50:37 +0100
committerChocobozzz <me@florianbigard.com>2019-11-27 10:29:26 +0100
commita18bb55e9b72664dff4043785842d6d406dd15a3 (patch)
treeb41d1a2d55e7805a463fce730dd661192aed16ed /server/controllers
parentab87af115572652797378820f051e55ec2d0fb63 (diff)
downloadPeerTube-a18bb55e9b72664dff4043785842d6d406dd15a3.tar.gz
PeerTube-a18bb55e9b72664dff4043785842d6d406dd15a3.tar.zst
PeerTube-a18bb55e9b72664dff4043785842d6d406dd15a3.zip
Fix error log when updating redundancy
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/server/redundancy.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/server/redundancy.ts b/server/controllers/api/server/redundancy.ts
index f8109070d..4ea6164a3 100644
--- a/server/controllers/api/server/redundancy.ts
+++ b/server/controllers/api/server/redundancy.ts
@@ -31,7 +31,7 @@ async function updateRedundancy (req: express.Request, res: express.Response) {
31 31
32 // Async, could be long 32 // Async, could be long
33 removeRedundancyOf(server.id) 33 removeRedundancyOf(server.id)
34 .catch(err => logger.error('Cannot remove redundancy of %s.', server.host, err)) 34 .catch(err => logger.error('Cannot remove redundancy of %s.', server.host, { err }))
35 35
36 return res.sendStatus(204) 36 return res.sendStatus(204)
37} 37}