Skip to content

All errors in resolve are catched, making it hard to find errors #225

Closed
@Gregoor

Description

@Gregoor

I think my problem comes down to these lines here:

try {
return resolveFn(source, args, info);
} catch (error) {

When using this in conjunction with express every error is sent down to the client, where only the message is displayed. I really miss my stack traces... 😿

Wouldn't it be possible to only catch a certain type of error here?

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