Quantcast
Channel: Cannot receive error from GraphQL with graphql-middleware-sentry - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Daniel Rearden for Cannot receive error from GraphQL with...

graphql-middleware-sentry has a forwardErrors parameter that is false by default. You should set it to true in order to prevent it from swallowing the errors you throw:const sentryMiddleware = sentry({...

View Article



Cannot receive error from GraphQL with graphql-middleware-sentry

Note: The problem was in graphql-middleware-sentry not forwarding on the errors. The solution is below and marked as the correct answer.I'm currently handling a form using React and Apollo React Hooks...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images