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

camel-yaml-dsl - Better parser error with source loc:line of the problem

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.17.0
    • camel-yaml-dsl
    • None
    • Unknown

    Description

      The yaml dsl can reports too generic exception if parsing errors that is hard for end users to understand and find out where the problem is.

      We should try to find the source loc:line, and then make a nice output with snippet of the source and use some pointer to indicate where about the problem is.

      As we do for simple language etc.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: