summaryrefslogtreecommitdiff
path: root/std/ws
diff options
context:
space:
mode:
authorCh3ri0ur <22932267+Ch3ri0ur@users.noreply.github.com>2020-06-10 15:03:26 +0200
committerGitHub <noreply@github.com>2020-06-10 09:03:26 -0400
commitf364a4c2b6dcce65959af2da3663f0b4a7338229 (patch)
tree1e2adce82afc41f1f17a59403c2bd707c9aaf4e8 /std/ws
parentdb70b77e4b6a24814e0045f7f6afcf77730878a7 (diff)
minor fix to websocket readme (#6207)
Diffstat (limited to 'std/ws')
-rw-r--r--std/ws/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/ws/README.md b/std/ws/README.md
index d719f22a9..bcfa5d189 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 });
});