diff options
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)); } })(); } |