[ci] format

This commit is contained in:
matthewp 2023-05-01 14:11:30 +00:00 committed by fredkbot
parent c405cef647
commit d6b153bcac

View file

@ -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');
} }
} }