Skip to content

Commit

Permalink
fix(plugins\sensible.ts): dropped custom errorHandler option in @fast…
Browse files Browse the repository at this point in the history
…ify/sensible registration (#14)

Compatibilty with Fastify v4 fastify/fastify-sensible#109
  • Loading branch information
etino authored Jul 7, 2022
1 parent 4e0b5ec commit b36c475
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/plugins/sensible.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@ import sensible, { SensibleOptions } from '@fastify/sensible'
* @see https://github.com/fastify/fastify-sensible
*/
export default fp<SensibleOptions>(async (fastify, opts) => {
fastify.register(sensible, {
errorHandler: false
})
fastify.register(sensible)
})

0 comments on commit b36c475

Please sign in to comment.