Skip to content

Stack traces not showing in error response #3755

@benknight

Description

@benknight

Hello, I'm trying to figure out why stack traces aren't showing up in GraphQL error responses. I have NODE_ENV set to development but error responses only include the following details, for example:

{"errors":[{"message":"result.rows is not iterable","locations":[{"line":9,"column":7}],"path":["issues","items",0,"activity"]}]}

Reading the code, it doesn't even seem possible to include. This seems odd? Stack traces are useful for debugging in dev mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions