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:
Kevin Roast
2008-12-17 10:57:10 +00:00
parent 8fe17f40f1
commit 3f2bb5cde4

View File

@@ -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;