Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
8.0
-
None
Description
When macros fail to execute XWiki always renders the stacktrace and a very technical error message like "Failed to execute the [velocity] macro. Click on this message for details.". It's not helpful for non-technical users.
However, the error message is rendered in MacroErrorManager. Customizing the messages is difficult as it requires replacing the MacroTransformation component and other downstream components for MacroErrorManager.
It would be great if you can rewrite MacroErrorManager as a component so that I can display a general customized error message.
Thanks