[
https://issues.apache.org/jira/browse/SLING-10929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Pauls closed SLING-10929.
------------------------------
> CPConverter - error messages can be obfuscated
> ----------------------------------------------
>
> Key: SLING-10929
> URL: https://issues.apache.org/jira/browse/SLING-10929
> Project: Sling
> Issue Type: Improvement
> Components: Content-Package to Feature Model Converter
> Affects Versions: Content-Package to Feature Model Converter 1.1.10
> Reporter: Niek Raaijmakers
> Assignee: Niek Raaijmakers
> Priority: Minor
> Fix For: Content-Package to Feature Model Converter 1.1.12
>
>
> Currently, when performing a CPConversion, if the customer has wrong code,
> sometimes the exception can be very obfuscated.
> This gives the customer no chance to fix their error easily:
> In this example a xml file is empty:
> [ERROR] Unable to convert content-package
> [/tmp/packages/???.ui.content-1.28.0-SNAPSHOT.zip,
> /tmp/packages/???.ui.apps-1.28.0-SNAPSHOT.zip]: Premature end of file.
> We would like a path to be provided in the exception so the customer can take
> a look there.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)