diff options
Diffstat (limited to 'server/lib/client-html.ts')
-rw-r--r-- | server/lib/client-html.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/client-html.ts b/server/lib/client-html.ts index 899d80c15..4fd9a4263 100644 --- a/server/lib/client-html.ts +++ b/server/lib/client-html.ts | |||
@@ -576,7 +576,7 @@ async function serveIndexHTML (req: express.Request, res: express.Response) { | |||
576 | await generateHTMLPage(req, res, req.params.language) | 576 | await generateHTMLPage(req, res, req.params.language) |
577 | return | 577 | return |
578 | } catch (err) { | 578 | } catch (err) { |
579 | logger.error('Cannot generate HTML page.', err) | 579 | logger.error('Cannot generate HTML page.', { err }) |
580 | return res.status(HttpStatusCode.INTERNAL_SERVER_ERROR_500).end() | 580 | return res.status(HttpStatusCode.INTERNAL_SERVER_ERROR_500).end() |
581 | } | 581 | } |
582 | } | 582 | } |