Prevent console error with Mongoose, node and graphql
check out apollo-errors
:
https://github.com/thebigredgeek/apollo-errors
and apollo-resolvers
:
https://github.com/thebigredgeek/apollo-resolvers
These packages, together, were made to handle issues like the one you describe