From b13172c8cfefbd5e5960a6cfa57fcb4065aa1f7e Mon Sep 17 00:00:00 2001 From: "giancarlo.panichi" Date: Tue, 31 Jan 2017 09:47:54 +0000 Subject: [PATCH] refs 6548: TDM - Migrate TabMan to new PortalContext Task-Url: https://support.d4science.org/issues/6548 Updated to new PortalContext git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/admin/accounting-manager@141936 82a268e6-3cf1-43bd-a215-b396298e98cf --- pom.xml | 8 -------- .../server/AccountingManagerServiceImpl.java | 1 - .../server/amservice/AccountingCaller.java | 3 +-- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 4567623..48092c5 100644 --- a/pom.xml +++ b/pom.xml @@ -229,14 +229,6 @@ provided - - - org.gcube.portlets.user - gcube-widgets - compile - - - org.gcube.portal diff --git a/src/main/java/org/gcube/portlets/admin/accountingmanager/server/AccountingManagerServiceImpl.java b/src/main/java/org/gcube/portlets/admin/accountingmanager/server/AccountingManagerServiceImpl.java index 97c9a1e..b0fe266 100644 --- a/src/main/java/org/gcube/portlets/admin/accountingmanager/server/AccountingManagerServiceImpl.java +++ b/src/main/java/org/gcube/portlets/admin/accountingmanager/server/AccountingManagerServiceImpl.java @@ -176,7 +176,6 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet e.printStackTrace(); throw e; } catch (Throwable e) { - e.printStackTrace(); logger.error("getSeries(): " + e.getLocalizedMessage(), e); throw new ServiceException(e.getLocalizedMessage()); } diff --git a/src/main/java/org/gcube/portlets/admin/accountingmanager/server/amservice/AccountingCaller.java b/src/main/java/org/gcube/portlets/admin/accountingmanager/server/amservice/AccountingCaller.java index 8a4034e..d807c97 100644 --- a/src/main/java/org/gcube/portlets/admin/accountingmanager/server/amservice/AccountingCaller.java +++ b/src/main/java/org/gcube/portlets/admin/accountingmanager/server/amservice/AccountingCaller.java @@ -99,8 +99,7 @@ public class AccountingCaller implements AccountingCallerInterface { } } catch (Throwable e) { - logger.error("Error in GetSeries(): " + e.getLocalizedMessage()); - e.printStackTrace(); + logger.error("Error in GetSeries(): " + e.getLocalizedMessage(),e); throw new ServiceException("No data available!"); }