diff --git a/src/main/java/org/gcube/datatransfer/resolver/services/AnalyticsCreateResolver.java b/src/main/java/org/gcube/datatransfer/resolver/services/AnalyticsCreateResolver.java index 9ec4a95..7f2a4a9 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/services/AnalyticsCreateResolver.java +++ b/src/main/java/org/gcube/datatransfer/resolver/services/AnalyticsCreateResolver.java @@ -183,13 +183,13 @@ public class AnalyticsCreateResolver { throw ExceptionManager.badRequestException(req, "Error on creating your 'dataminer-invocation' request with "+jsonRequest+". \nPlease contact the support", this.getClass(), helpURI); }finally{ //No needed to reset the scope, it is provided by TokenSetter -// try{ -// //DELETING THE TEMP FILE -// if(tempInvocationFile!=null && tempInvocationFile.exists()) -// tempInvocationFile.delete(); -// }catch(Exception e){ -// //silent -// } + try{ + //DELETING THE TEMP FILE + if(tempInvocationFile!=null && tempInvocationFile.exists()) + tempInvocationFile.delete(); + }catch(Exception e){ + //silent + } } if(publicLinkToDMInvFile==null){