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
the toResponse method does not trigger because the exception is Wrapped in a RuntimeException by io.quarkus.security.runtime.interceptor.SecurityHandler.java.
This is the snipped of the code in SecurityHandler.java that wrap the exception:
line 36 to 40
Describe the bug
This is my method on my rest interface
this is the custom Exception:
this is the exception mapper
the toResponse method does not trigger because the exception is Wrapped in a RuntimeException by io.quarkus.security.runtime.interceptor.SecurityHandler.java.
This is the snipped of the code in SecurityHandler.java that wrap the exception:
line 36 to 40
Expected behavior
The method hello return http code 400.
Actual behavior
The method hello return http code 500.
How to Reproduce?
code-bug-security-handler.zip
Output of
uname -a
orver
Darwin MacBookPro.local 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:20 PDT 2021; root:xnu-7195.141.6~3/RELEASE_ARM64_T8101 arm64
Output of
java -version
java version "17" 2021-09-14 LTS Java(TM) SE Runtime Environment (build 17+35-LTS-2724) Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.5.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739) Maven home: /opt/homebrew/Cellar/maven/3.8.3/libexec Java version: 17, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home Default locale: it_IT, platform encoding: UTF-8 OS name: "mac os x", version: "11.6", arch: "aarch64", family: "mac"
Additional information
No response
The text was updated successfully, but these errors were encountered: