Comments (9)
Oh yeah, I totally agree but I wanted to know the use case as it might be something we want to add as default anyway for better user experience.
from quarkus.
/cc @FroMage (resteasy-reactive), @geoand (resteasy-reactive), @stuartwdouglas (resteasy-reactive)
from quarkus.
I think this makes sense
from quarkus.
Is it a custom exception that you want to unwrap? Or something that would make sense in general?
from quarkus.
It makes sense to have this be configurable.
I planned to do it when someone asked 😀
from quarkus.
One question I do have however is whether the feature should be enabled by a configuration property or some new annotation.
The reason the configuration property (although totally reasonable) can be suboptimal is that the IDE doesn't provide any assistance or validation of the value
from quarkus.
#42094 is what I have in mind
from quarkus.
Thank you for the quick and welcoming feedback!
@gsmet
Is it a custom exception that you want to unwrap? Or something that would make sense in general?
It is both, we have java.util.concurrent.CompletionException and a custom exception, thrown by an internal library.
@geoand
After opening the issue, I started to wonder what would be the drawback of also optionally providing the option of just unwrapping all exceptions unconditionally until a handler is found.
In our use case, I don't think this would lead to unwanted behaviours.
from quarkus.
After opening the issue, I started to wonder what would be the drawback of also optionally providing the option of just unwrapping all exceptions unconditionally until a handler is found.
Although this might make sense, it is however not how the JAX-RS / Jakarta REST specifies things, so it's best not to make this the default behavior.
from quarkus.
Related Issues (20)
- state which category to enable debugging for
- Keycloak admin client - error response body is unreachable HOT 3
- OTEL + `quarkus.http.test-timeout` -> NullPointerException: Cannot invoke "io.vertx.core.spi.observability.HttpResponse.headers()" because "httpResponse" is null HOT 5
- `application-test.properties` leaks into downstream module tests even though only `application.properties` is included in the test-jar HOT 12
- Error connecting Cloud Run to Cloud SQL. HOT 2
- [Feature Request] Infinispan as Hibernate second-level cache provider HOT 1
- SRMSG18245: There are still 140 unprocessed messages after the closing timeout HOT 6
- Custom Smallrye ConfigSourceInterceptor not loading class using Gradle HOT 1
- Quarkus Update - missing recipe for keycloak config changes HOT 4
- StringIndexOutOfBoundsException on OAuth2AuthMechanism HOT 3
- Swagger UI Config for Implicit Auth Broken in Native Build HOT 10
- Migrating from 3.2 to 3.8 fails if using Jackson ObjectMapper customization for Map serialization HOT 13
- Add configuration to opt-out generation of Openshift's Buliding and RBAC objects on the openshift.yaml HOT 1
- `SecurityIdentityAugmentor` are called multiple times with multiple identityProviders HOT 10
- Convinient way to access build metadata at runtime HOT 10
- @TestSecurity with @PermissionsAllowed annotated endpoint
- MQTT reactive stream transformer fails to process events due to lack of requests HOT 2
- NPE in QuarkusTestExtension.runExtensionMethod following CL issue HOT 2
- Quarkus REST: AsyncInvoker doesn't fire callbacks HOT 1
- MQTT dev services always start if another reactive messaging connector is present HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarkus.