You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When introducing a general exception mapper (i.e. for Exception) with RESTEasy Classic, this results in the built-in exception mappers for WebApplicationException overriden, but only for the native mode, in JVM mode, they are still taken.
Personally, I'd be fine with either option (though I slightly prefer the WebApplicationExceptions to be handled by Quarkus), but in any case, it should behave the same in JVM and native mode.
But in fact, I made a mistake, the issue only appears in dev mode vs. prod/JVM/native mode, so it only is an issue with quarkus:dev, there seems to be no difference between JVM and native (but still).
Describe the bug
When introducing a general exception mapper (i.e. for
Exception
) with RESTEasy Classic, this results in the built-in exception mappers forWebApplicationException
overriden, but only for the native mode, in JVM mode, they are still taken.Personally, I'd be fine with either option (though I slightly prefer the WebApplicationExceptions to be handled by Quarkus), but in any case, it should behave the same in JVM and native mode.
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
Example:
In JVM mode / dev mode, the /test resource (randomly) returns a 404 error, in native mode, it returns 500 (due to our exception mapper).
Output of
uname -a
orver
No response
Output of
java -version
OpenJDK Runtime Environment Temurin-18.0.1+10 (build 18.0.1+10)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.2.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: