New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setting quarkus.rest-client.logging.body-limit=-1 result in stringoutofboundsexception #31816
Comments
/cc @Sgitario (rest-client), @cescoffier (rest-client), @geoand (rest-client) |
It's a dropped exception. It means that the Mutiny pipeline reaches a state where the exception cannot ge passed downstream without violating the protocol, so it just logs it. Why we are in this state? That probably will answer why we have such an exception. |
we are in this state because the code assumes an integer is always positive and tries to index a string with it :) |
Which version does this happen with? |
Asking as #31532 should have fixed it |
Fixed by #31532 |
Describe the bug
quarkus.rest-client.logging.body-limit=0
gives you empty body, triedquarkus.rest-client.logging.body-limit=-1
to try get unlimited but instead I get:I would have expected a message stating it could not be negative, return everything or keep returning empty.
not a hard non graceful fail :)
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
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: