From f364a4c2b6dcce65959af2da3663f0b4a7338229 Mon Sep 17 00:00:00 2001 From: Ch3ri0ur <22932267+Ch3ri0ur@users.noreply.github.com> Date: Wed, 10 Jun 2020 15:03:26 +0200 Subject: [PATCH] minor fix to websocket readme (#6207) --- std/ws/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/ws/README.md b/std/ws/README.md index d719f22a9a..bcfa5d189c 100644 --- a/std/ws/README.md +++ b/std/ws/README.md @@ -59,7 +59,7 @@ if (import.meta.main) { headers, }) .then(handleWs) - .catch(async (e) => { + .catch(async (err) => { console.error(`failed to accept websocket: ${err}`); await req.respond({ status: 400 }); });