From 5339655bb25804b74c9af1da688401895aec4702 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Tue, 29 Jul 2025 15:36:53 +0200 Subject: [PATCH] fix(node): Add mechanism to `fastifyIntegration` error handler (#17208) Marks the captured error as `{ handled: false, type: 'fastify' }` --- packages/node/src/integrations/tracing/fastify/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node/src/integrations/tracing/fastify/index.ts b/packages/node/src/integrations/tracing/fastify/index.ts index bb8333e73cf0..fd8894e29a96 100644 --- a/packages/node/src/integrations/tracing/fastify/index.ts +++ b/packages/node/src/integrations/tracing/fastify/index.ts @@ -131,7 +131,7 @@ function handleFastifyError( } if (shouldHandleError(error, request, reply)) { - captureException(error); + captureException(error, { mechanism: { handled: false, type: 'fastify' } }); } }