Skip to content

Commit

Permalink
refactor(index): remove unused catch bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Frazer Smith <[email protected]>
  • Loading branch information
Fdawgs authored Oct 19, 2024
1 parent cc2efc8 commit eae0875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit eae0875

Please sign in to comment.