Custom GraphQL Errors

When I have a custom graphQL function and it throws an error its being masked as “Internal Server Error” Is there any way to pop a more verbose error? throwing and ApolloError doesn’t seem to work.

This topic has been created from a Discord post (1216020158737416202) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Found it! you have to set your resolutions to resolve the same version of @strapi/utils otherwise the error matching does not work.

1 Like