mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.0 to HEAD
11385: Removal of overly excited error logging. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12432 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -100,14 +100,11 @@ public class NodeInfoBean implements Serializable
|
|||||||
{
|
{
|
||||||
// Try to catch TransformerInfoException to display it in NodeInfo pane.
|
// Try to catch TransformerInfoException to display it in NodeInfo pane.
|
||||||
// Fix bug reported in https://issues.alfresco.com/jira/browse/ETWOTWO-440
|
// Fix bug reported in https://issues.alfresco.com/jira/browse/ETWOTWO-440
|
||||||
|
|
||||||
logger.error(ex);
|
|
||||||
Throwable cause = ex.getCause();
|
Throwable cause = ex.getCause();
|
||||||
while (cause != null)
|
while (cause != null)
|
||||||
{
|
{
|
||||||
logger.error(cause);
|
|
||||||
cause = cause.getCause();
|
cause = cause.getCause();
|
||||||
if (cause != null && cause instanceof TransformerInfoException)
|
if (cause instanceof TransformerInfoException)
|
||||||
{
|
{
|
||||||
out.write("<tr><td colspan=\"2\"><span class='errorMessage'>" + cause.getMessage() + "</span></td></tr>");
|
out.write("<tr><td colspan=\"2\"><span class='errorMessage'>" + cause.getMessage() + "</span></td></tr>");
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user