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

Konrad Windszus resolved SLING-11758.
-------------------------------------
      Assignee: Konrad Windszus
    Resolution: Fixed

Fixed in 
https://github.com/apache/sling-org-apache-sling-repoinit-parser/commit/1ad19efb4556051c63fe72447af274bfca23441c.

> Expose line and column in RepoInitParsingException
> --------------------------------------------------
>
>                 Key: SLING-11758
>                 URL: https://issues.apache.org/jira/browse/SLING-11758
>             Project: Sling
>          Issue Type: Improvement
>          Components: Repoinit
>    Affects Versions: Repoinit Parser 1.8.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Repoinit Parser 1.8.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In order to emit better error messages (e.g. for SLING-11729) it would be 
> useful to expose the line and column where the error occurred through 
> dedicated getter methods (and not only hidden in the exception message). That 
> allows m2e to render error markers at the correct position.
> In case no line/column information is available {{-1}} should be returned.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to