diff --git a/distro/changelog.xml b/distro/changelog.xml index e7b5e66..613e1e5 100644 --- a/distro/changelog.xml +++ b/distro/changelog.xml @@ -2,10 +2,12 @@ Minor refactor for comment replies + Resilient to Email server failures - Added possibility to change poller time at runtime as well as to quit it by editing a property file in the server + Added possibility to change poller time at runtime as well as + to quit it by editing a property file in the server Added support for Auth2 0) { _log.debug("EmailParser restarts in " + pollingInterval + " minutes, to change this polling delay edit gcube-data.properties file under $CATALINA_HOME/conf"); @@ -108,7 +108,7 @@ public class PeriodicTask implements Runnable { _log.info("EmailParser stopped for " + popAccount.getPortalName() + ", found value less than 1 in gcube-data.properties file under $CATALINA_HOME/conf"); keepPolling = false; } - } catch (InterruptedException e) { + } catch (Exception e) { e.printStackTrace(); } } @@ -191,7 +191,7 @@ public class PeriodicTask implements Runnable { userRoles.add(DEFAULT_ROLE); session.setSecurityToken(null); String token = authorizationService().generateUserToken(new UserInfo(session.getUsername(), userRoles), scope); - + _log.debug("received token: "+token); session.setSecurityToken(token); _log.debug("PeriodicTask EmailParser: Security token set in session for: "+username + " on " + scope);