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