You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2021/07/16 05:23:00 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-15663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino resolved CAMEL-15663.
--------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 3.12.0
>
>
> 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)