[ci] format
This commit is contained in:
parent
c405cef647
commit
d6b153bcac
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ async function writeWebResponse(app: NodeApp, res: ServerResponse, webResponse:
|
||||||
for await (const chunk of responseIterator(webResponse) as unknown as Readable) {
|
for await (const chunk of responseIterator(webResponse) as unknown as Readable) {
|
||||||
res.write(chunk);
|
res.write(chunk);
|
||||||
}
|
}
|
||||||
} catch(err: any) {
|
} catch (err: any) {
|
||||||
console.error(err?.stack || err?.message || String(err))
|
console.error(err?.stack || err?.message || String(err));
|
||||||
res.write('Internal server error');
|
res.write('Internal server error');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue