From 0aa6b1e79f2f4cabdb857daabc06791dfef3140b Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Mon, 30 Aug 2021 18:40:00 +0200 Subject: chore: update to rusty_v8 0.27.0 (#11877) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- cli/bench/deno_http_native.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'cli') 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)); } })(); } -- cgit v1.2.3