Automatic error handler setup for Fastify v5 #15936
Labels
getsentry/sentry-javascript
Integration: fastify
Issues related to Fastify support for the Sentry Node SDK
Task
Description
Fastify v5 introduced diagnostics channels which we could use for automatic setup of the error and request handlers instead of users having to run
setupFastifyErrorHandler
manually.While we cannot yet get rid of the handler for <v5, we could simplify the setup for users on v5.
See
tracing:fastify.request.handler:start
andtracing:fastify.request.handler:error
.The text was updated successfully, but these errors were encountered: