Skip to content

fix(node): Add mechanism to fastifyIntegration error handler - #17208

Merged
Lms24 merged 1 commit into
developfrom
lms/fix-node-fastify-error-mechanism
Jul 29, 2025
Merged

Lms24 merged 1 commit into
developfrom
lms/fix-node-fastify-error-mechanism

Conversation

@Lms24

@Lms24 Lms24 commented Jul 29, 2025 •

Copy link
Copy Markdown
Member

While investigating #17119, I saw that our fastifyIntegration error handler doesn't set a mechanism when calling captureException. This leads to the SDK assigning the generic fallback mechanism and marking the error as handled: true. This makes it hard to 1. identify that the error was captured by our fastify instrumentation and 2. marks the error as handled, when it's probably not.

This PR now marks the captured error as { handled: false, type: 'fastify' }

@Lms24
Lms24 requested review from a team, AbhiPrasad, mydea and onurtemizkan and removed request for a team and mydea July 29, 2025 12:53
@Lms24 Lms24 changed the title fix(node): Add mechanism to fastifyIntegration error handler fix(node): Add mechanism to fastifyIntegration error handler Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants