[ https://issues.apache.org/jira/browse/CAMEL-21437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-21437: -------------------------------- Summary: rest-dsl - More logs in case of an invalid json object when using client request validator (was: More logs in case of an invalid json object) > rest-dsl - More logs in case of an invalid json object when using client > request validator > ------------------------------------------------------------------------------------------ > > Key: CAMEL-21437 > URL: https://issues.apache.org/jira/browse/CAMEL-21437 > Project: Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 4.8.0, 4.8.1 > Reporter: Olivier Jacquemart > Priority: Minor > > At the moment, the > [DefaultRestClientRequestValidator|https://github.com/apache/camel/blob/main/core/camel-support/src/main/java/org/apache/camel/support/processor/DefaultRestClientRequestValidator.java] > not give any information in case of an invalid json object. > It could be nice to have more info like a log in that particular case (and > maybe other cases like empty body, not allowed query params or http headers). > About the json validation, the json-validator module has another approach and > allows to catch exception so we can decide what exception to log. > -- This message was sent by Atlassian Jira (v8.20.10#820010)