Show exception class name when printing out error message in console
--------------------------------------------------------------------
Key: MGNLGROOVY-22
URL: http://jira.magnolia-cms.com/browse/MGNLGROOVY-22
Project: Magnolia Groovy Module
Issue Type: Improvement
Reporter: Grégory Joseph
Assignee: Grégory Joseph
Fix For: 1.0.1
In case of a PathNotFoundException, for example, the current output is pretty
confusing, since the message of such exception is simply the path that we tried
to reach.
{code}
mgnl> ctx.getHierarchyManager('website').getContent('/foobar')
foobar
{code}
This kind of output would probably be a little more helpful:
{code}
mgnl> ctx.getHierarchyManager('website').getContent('/foobar')
PathNotFoundException: foobar
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------