From a18bb55e9b72664dff4043785842d6d406dd15a3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 26 Nov 2019 17:50:37 +0100 Subject: Fix error log when updating redundancy --- server/controllers/api/server/redundancy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers/api') 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) { // 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) } -- cgit v1.2.3