Skip to content

Attach more context information to errors thrown in middlewares #17

@czechboy0

Description

@czechboy0

Currently, when errors are thrown in a transport, we attach as much context as we have at that point (the Input value, operationId, etc). But when an error is thrown in a middleware, we don't attach some info that we could, so let's fix that. Will make debugging errors thrown by middlewares quicker, if all the right context is already attached and logged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/runtimeAffects: the runtime library.kind/enhancementImprovements to existing feature.size/SSmall task. (A couple of hours of work.)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions