Skip to content

Commit b36c475

Browse files
authored
fix(plugins\sensible.ts): dropped custom errorHandler option in @fastify/sensible registration (#14)
Compatibilty with Fastify v4 fastify/fastify-sensible#109
1 parent 4e0b5ec commit b36c475

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/plugins/sensible.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@ import sensible, { SensibleOptions } from '@fastify/sensible'
77
* @see https://github.com/fastify/fastify-sensible
88
*/
99
export default fp<SensibleOptions>(async (fastify, opts) => {
10-
fastify.register(sensible, {
11-
errorHandler: false
12-
})
10+
fastify.register(sensible)
1311
})

0 commit comments

Comments
 (0)