diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/server/redundancy.ts | 2 |
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 | } |