Catched exception on scheduled thread reloading the configuration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib@169474 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d51d726265
commit
e97003c74a
|
@ -395,8 +395,8 @@ public abstract class AggregationScheduler implements Runnable {
|
|||
}
|
||||
|
||||
public void run() {
|
||||
PersistenceBackendConfiguration configuration = getConfiguration();
|
||||
try {
|
||||
PersistenceBackendConfiguration configuration = getConfiguration();
|
||||
AggregationConfiguration agConf = CheckConfiguration(configuration);
|
||||
if (!agScheduler.config.equals(agConf)) {
|
||||
logger.trace("reloadConfiguration changeConfiguration " + "old config:{} newconfig:{}",
|
||||
|
@ -409,6 +409,8 @@ public abstract class AggregationScheduler implements Runnable {
|
|||
}
|
||||
} catch (IOException e) {
|
||||
logger.warn("error retrieving configuration", e);
|
||||
} catch (Throwable t) {
|
||||
logger.error("", t);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue