Author: ppalaga
Date: 2012-12-14 07:27:27 -0500 (Fri, 14 Dec 2012)
New Revision: 9000
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java
Log:
Belongs to rev#8998: Bug 878278 - Some errors are getting printed instead of logged
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java 2012-12-14
04:17:48 UTC (rev 8999)
+++
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortlet.java 2012-12-14
12:27:27 UTC (rev 9000)
@@ -938,12 +938,12 @@
{
producedOfferedPortlet =
portletInvoker.getPortlet(producerOfferedPortletContext);
}
- catch (Exception exp)
+ catch (Exception ex)
{
// Whenever couldn't invoke the portlet object, set the request
portlet to null for the error tobe
// properly handled and displayed when the portlet is rendered
producedOfferedPortlet = null;
- log.error(exp.getMessage(), exp);
+ log.error(ex.getMessage(), ex);
}
this.adapter = adapter;
Show replies by date