You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Gerald Kallas (Jira)" <ji...@apache.org> on 2020/10/09 10:56:00 UTC

[jira] [Created] (CAMEL-15663) camel-json-validator should return full error message by default

Gerald Kallas created CAMEL-15663:
-------------------------------------

             Summary: camel-json-validator should return full error message by default
                 Key: CAMEL-15663
                 URL: https://issues.apache.org/jira/browse/CAMEL-15663
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 3.4.4
            Reporter: Gerald Kallas


When the camel-json-validator throws an error occurs it shows only in log
 
"JSON validation error with 1 errors. Exchange[ID-700bc59e90f0-1601310667823-12-4]"
 
${exception.message} shows no details as well. The following
 
${exception.getErrors()}
 
shows all details what is wrong in the JSON structure.
 
For convenience it would be helpfull when the error message itself contains these details. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)