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!"); }