diff options
author | Luca Casonato <hello@lcas.dev> | 2021-08-30 18:40:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-30 18:40:00 +0200 |
commit | 0aa6b1e79f2f4cabdb857daabc06791dfef3140b (patch) | |
tree | 3d12b24b3c78f65a60c0936dccf018518189fc57 /cli/bench/deno_http_native.js | |
parent | 40526a03dcd29f9cc4f466610af2e966919d75a4 (diff) |
chore: update to rusty_v8 0.27.0 (#11877)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/bench/deno_http_native.js')
-rw-r--r-- | cli/bench/deno_http_native.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cli/bench/deno_http_native.js b/cli/bench/deno_http_native.js index 2b576255e..d68f8ea81 100644 --- a/cli/bench/deno_http_native.js +++ b/cli/bench/deno_http_native.js @@ -12,11 +12,8 @@ for await (const conn of listener) { (async () => { const requests = Deno.serveHttp(conn); for await (const { respondWith } of requests) { - try { - respondWith(new Response(body)); - } catch { - // Ignore. - } + respondWith(new Response(body)) + .catch((e) => console.log(e)); } })(); } |