@ExceptionHandler returns 406 when Controller method returns Mono<String> and exception handler returns Mono<Map<String,String>> and Controller method returns Mono.error #15691
Labels
status: invalid
An issue that we don't feel is valid
Hi,
I've created this repo: https://github.com/bidadh/exception-handling-issue to demonstrate the issue.
You can simply run mvn spring-boot:run and try different http-reques files in the project.
if you try:
GET http://localhost:8080/mono-error-long
or any other requests you'll receive the correct response:
GET http://localhost:8080/mono-error-long
However, if you run the following:
GET http://localhost:8080/mono-error-string-map
you'll receive this response:
Thanks,
Arthur
The text was updated successfully, but these errors were encountered: