This looks very similar to #15748, but only for DEV mode. Perhaps it's different?
Now, a more annoying thing is that if I change the endpoint method to:
@Path("fruit/{id}")
@GET
@Produces(MediaType.APPLICATION_JSON)
public Uni<Object> fruit(@PathParam("id") Long id){
return Uni.createFrom().failure(() -> new NotFoundException());
}
It behaves differently and doesn't even try to run my exception mapper, when it should be identical to the previous endpoint.
This one happens only in DEV mode. Start with this endpoint:
Now trigger the 404 with
GET /fruit/123
, you get the DEV Mode 404 red page.Now uncomment the exception mapper and reload the page, you get:
This looks very similar to #15748, but only for DEV mode. Perhaps it's different?
Now, a more annoying thing is that if I change the endpoint method to:
It behaves differently and doesn't even try to run my exception mapper, when it should be identical to the previous endpoint.
https://github.com/quarkusio/quarkus/issues/15763
$upstream:15763$