Skip to content

Automatic error handler setup for Fastify v5 #15936

Description

@andreiborza

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 and tracing:fastify.request.handler:error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions