Skip to content

Commit 77b01a5

Browse files
authored
fix(v9/node): Add mechanism to fastifyIntegration error handler (#17211)
Backport of #17208 Marks the captured error as `{ handled: false, type: 'fastify' }`
1 parent f7452ce commit 77b01a5

File tree

1 file changed

+1
-1
lines changed
  • packages/node/src/integrations/tracing/fastify

1 file changed

+1
-1
lines changed

packages/node/src/integrations/tracing/fastify/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function handleFastifyError(
131131
}
132132

133133
if (shouldHandleError(error, request, reply)) {
134-
captureException(error);
134+
captureException(error, { mechanism: { handled: false, type: 'fastify' } });
135135
}
136136
}
137137

0 commit comments

Comments
 (0)