Skip to content
Snippets Groups Projects
Commit 35be562d authored by Vincent Massol's avatar Vincent Massol
Browse files

XRENDERING-446: Provide original cause of error in Macro error message even...

XRENDERING-446: Provide original cause of error in Macro error message even when there's no nested exception
* Fix tests
parent 9a52e0ac
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
beginDocument beginDocument
beginMacroMarkerStandalone [useravatar] [username=XWiki.UserNotExisting] beginMacroMarkerStandalone [useravatar] [username=XWiki.UserNotExisting]
beginGroup [[class]=[xwikirenderingerror]] beginGroup [[class]=[xwikirenderingerror]]
onWord [Failed to execute the [useravatar] macro. Click on this message for details.] onWord [Failed to execute the [useravatar] macro. Cause: [User [XWiki.UserNotExisting] is not registered in this wiki]. Click on this message for details.]
endGroup [[class]=[xwikirenderingerror]] endGroup [[class]=[xwikirenderingerror]]
beginGroup [[class]=[xwikirenderingerrordescription hidden]] beginGroup [[class]=[xwikirenderingerrordescription hidden]]
onVerbatim [org.xwiki.rendering.macro.MacroExecutionException: User [XWiki.UserNotExisting] is not registered in this wiki${{{regex:.*}}}] [false] onVerbatim [org.xwiki.rendering.macro.MacroExecutionException: User [XWiki.UserNotExisting] is not registered in this wiki${{{regex:.*}}}] [false]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment