[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);
|
await writeWebResponse(app, res, response);
|
||||||
}
|
}
|
||||||
} catch (err: unknown) {
|
} catch (err: unknown) {
|
||||||
const logger = app.getAdapterLogger()
|
const logger = app.getAdapterLogger();
|
||||||
logger.error(`Could not render ${req.url}`)
|
logger.error(`Could not render ${req.url}`);
|
||||||
console.error(err)
|
console.error(err);
|
||||||
if (!res.headersSent) {
|
if (!res.headersSent) {
|
||||||
res.writeHead(500, `Server error`);
|
res.writeHead(500, `Server error`);
|
||||||
res.end();
|
res.end();
|
||||||
|
|
Loading…
Reference in a new issue