Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Custom exception handler no longer working with 8.1.0 #493

Closed
oliemansm opened this issue Dec 21, 2020 · 0 comments
Closed

Custom exception handler no longer working with 8.1.0 #493

oliemansm opened this issue Dec 21, 2020 · 0 comments
Labels
Milestone

Comments

@oliemansm
Copy link
Member

Describe the bug
After upgrading from 8.0.0 to 8.1.0 the custom exceptions stopped working and all graphql errors are being converted back to the default "Internal server error" message.

To Reproduce
Steps to reproduce the behavior:

  1. Expose a bean with @ExceptionHandler methods to create GraphQLError in case of certain exceptions
  2. Configure graphql.servlet.exception-handlers-enabled: true
  3. Run a GraphQL query which should result in an exception
  4. The returned error always contain a default message starting with "Internal server error"

Expected behavior
Instead of the default GraphQLError I'd expect my custom error to be returned.

@oliemansm oliemansm added the bug label Dec 21, 2020
@oliemansm oliemansm added this to the 8.1.1 milestone Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant