diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index 30aa1fe..2288dbc 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -1616,8 +1616,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements if (task.getResult() != null) { logger.debug("Task exception:" + task.getErrorCause()); - exportMonitor.setError(new Throwable(task - .getErrorCause())); + exportMonitor.setError(task + .getErrorCause()); } else { logger.debug("Task exception: Error In Export"); exportMonitor.setError(new Throwable(