From d6b153bcac489d47ebc9cadaa2bc2a63a08446a7 Mon Sep 17 00:00:00 2001 From: matthewp Date: Mon, 1 May 2023 14:11:30 +0000 Subject: [PATCH] [ci] format --- packages/integrations/node/src/middleware.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/integrations/node/src/middleware.ts b/packages/integrations/node/src/middleware.ts index 7c45db1ae..c23cdb89c 100644 --- a/packages/integrations/node/src/middleware.ts +++ b/packages/integrations/node/src/middleware.ts @@ -55,8 +55,8 @@ async function writeWebResponse(app: NodeApp, res: ServerResponse, webResponse: for await (const chunk of responseIterator(webResponse) as unknown as Readable) { res.write(chunk); } - } catch(err: any) { - console.error(err?.stack || err?.message || String(err)) + } catch (err: any) { + console.error(err?.stack || err?.message || String(err)); res.write('Internal server error'); } }