[ci] format
This commit is contained in:
parent
2e1d5f8739
commit
c49e865f4f
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue