You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by GitBox <gi...@apache.org> on 2019/01/22 10:12:45 UTC
[GitHub] hboutemy commented on a change in pull request #11: Propagate macro
related exceptions to caller in xhtml parser
hboutemy commented on a change in pull request #11: Propagate macro related exceptions to caller in xhtml parser
URL: https://github.com/apache/maven-doxia/pull/11#discussion_r249715464
##########
File path: doxia-modules/doxia-module-xhtml/src/main/java/org/apache/maven/doxia/module/xhtml/XhtmlParser.java
##########
@@ -269,11 +269,11 @@ private void processMacro( String text, Sink sink )
}
catch ( MacroExecutionException e )
{
- throw new XmlPullParserException( "Unable to execute macro in the document: " + macroName );
+ throw new XmlPullParserException( "Unable to execute macro in the document: " + macroName , null, e );
Review comment:
can you provide an example of failing macro for me to test in real conditions how the failure renders without and with the update, please?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org