diff --git a/packages/integrations/node/src/nodeMiddleware.ts b/packages/integrations/node/src/nodeMiddleware.ts index eaab0790c..ddaa95deb 100644 --- a/packages/integrations/node/src/nodeMiddleware.ts +++ b/packages/integrations/node/src/nodeMiddleware.ts @@ -51,9 +51,9 @@ export default function (app: NodeApp, mode: Options['mode']) { await writeWebResponse(app, res, response); } } catch (err: unknown) { - const logger = app.getAdapterLogger() - logger.error(`Could not render ${req.url}`) - console.error(err) + const logger = app.getAdapterLogger(); + logger.error(`Could not render ${req.url}`); + console.error(err); if (!res.headersSent) { res.writeHead(500, `Server error`); res.end();