diff --git a/src/main/java/org/gcube/dataanalysis/dataminer/poolmanager/util/SendMail.java b/src/main/java/org/gcube/dataanalysis/dataminer/poolmanager/util/SendMail.java index 452e119..a8b4ce1 100644 --- a/src/main/java/org/gcube/dataanalysis/dataminer/poolmanager/util/SendMail.java +++ b/src/main/java/org/gcube/dataanalysis/dataminer/poolmanager/util/SendMail.java @@ -133,6 +133,7 @@ public class SendMail extends StandardLocalInfraAlgorithm { public String getAdmins() throws Exception { + try{ List s = new LinkedList(); JSONObject obj = new JSONObject(this.getAdminRoles()); JSONArray data = obj.getJSONArray("result"); @@ -145,12 +146,13 @@ public class SendMail extends StandardLocalInfraAlgorithm { s.add(this.username(SecurityTokenProvider.instance.get())); ***REMOVED*** return s.toString().replace("[", "").replace("]", ""); -***REMOVED*** - - - - - + ***REMOVED*** + catch(Exception a){return "ngalante, lucio.lelii, roberto.cirillo, gianpaolo.coro, giancarlo.panichi, scarponi"; ***REMOVED*** + + ***REMOVED*** + + + public String getRootToken() throws Exception {