Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15663

camel-json-validator should return full error message by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.4
    • 3.12.0
    • None
    • None
    • Unknown

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

              acosentino Andrea Cosentino
              catshout Gerald Kallas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: