You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/03/30 11:11:00 UTC
[jira] [Commented] (CAMEL-17806) camel-yaml-dsl - Better parser error with source loc:line of the problem
[ https://issues.apache.org/jira/browse/CAMEL-17806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514610#comment-17514610 ]
Claus Ibsen commented on CAMEL-17806:
-------------------------------------
TODO: IllegalArgumentException should use mapper exceptions that has location support
> camel-yaml-dsl - Better parser error with source loc:line of the problem
> ------------------------------------------------------------------------
>
> Key: CAMEL-17806
> URL: https://issues.apache.org/jira/browse/CAMEL-17806
> Project: Camel
> Issue Type: Improvement
> Components: camel-yaml-dsl
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.17.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)