Skip to content

Commit 6fdb8a9

Browse files
committed
fix
1 parent 2ad7a3e commit 6fdb8a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/server-utils/src/integrations/tracing-channel/fastify

packages/server-utils/src/integrations/tracing-channel/fastify/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ interface FastifyIntegrationOptions {
4040
shouldHandleError: (error: Error, request: FastifyRequest, reply: FastifyReply) => boolean;
4141
}
4242

43-
const _fastifyIntegration = (({ shouldHandleError }: Partial<FastifyIntegrationOptions>) => {
43+
const _fastifyIntegration = (({ shouldHandleError }: Partial<FastifyIntegrationOptions> = {}) => {
4444
let _shouldHandleError: (error: Error, request: FastifyRequest, reply: FastifyReply) => boolean;
4545

4646
return {

0 commit comments

Comments
 (0)