From eae08754cc05d247564049c084ae47c7f37a7bca Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sat, 19 Oct 2024 11:44:38 +0100 Subject: [PATCH] refactor(index): remove unused catch bindings Signed-off-by: Frazer Smith --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d60875b..1e2128a 100644 --- a/index.js +++ b/index.js @@ -46,7 +46,7 @@ function fastifyZipkin (fastify, opts, next) { // otherwise all the 404 requests // will not be catched by our hooks fastify.setNotFoundHandler(basic404) - } catch (err) { + } catch { // a custom error handler is already present }