Skip to content

errorHandler not handling global resolver errors/exceptions? #709

Answered by mcollina
lucashfreitas asked this question in Q&A
Discussion options

You must be logged in to vote

You have to handle all errors in your resolvers, it's how you prevent all sort of problems. Note that this concept is true for all Node.js code and not specific to Mercurius.

Could you upload an example to reproduce your problem? So we can help you.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by lucashfreitas
Comment options

You must be logged in to vote
8 replies
@lucashfreitas
Comment options

@mcollina
Comment options

@lucashfreitas
Comment options

@mcollina
Comment options

@lucashfreitas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants