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 }