diff --git a/extensions/resteasy-reactive/quarkus-resteasy-reactive-jackson-common/runtime/src/main/java/io/quarkus/resteasy/reactive/jackson/runtime/serialisers/JacksonBasicMessageBodyReader.java b/extensions/resteasy-reactive/quarkus-resteasy-reactive-jackson-common/runtime/src/main/java/io/quarkus/resteasy/reactive/jackson/runtime/serialisers/JacksonBasicMessageBodyReader.java index ebcb0d39cfb8e..5991ea258e6a4 100644 --- a/extensions/resteasy-reactive/quarkus-resteasy-reactive-jackson-common/runtime/src/main/java/io/quarkus/resteasy/reactive/jackson/runtime/serialisers/JacksonBasicMessageBodyReader.java +++ b/extensions/resteasy-reactive/quarkus-resteasy-reactive-jackson-common/runtime/src/main/java/io/quarkus/resteasy/reactive/jackson/runtime/serialisers/JacksonBasicMessageBodyReader.java @@ -33,7 +33,7 @@ public Object readFrom(Class type, Type genericType, Annotation[] annota try { return doReadFrom(type, genericType, entityStream); } catch (MismatchedInputException e) { - throw new WebApplicationException(Response.Status.BAD_REQUEST); + throw new WebApplicationException(e, Response.Status.BAD_REQUEST); } }