Aggiunto catch intermedio su update menu
This commit is contained in:
@@ -45,9 +45,14 @@ public class MenuConfigurationService {
|
|||||||
if (advancedDataSource.getDataSource().getDbName().equalsIgnoreCase("studioml"))
|
if (advancedDataSource.getDataSource().getDbName().equalsIgnoreCase("studioml"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
try {
|
||||||
//LocalDateTime startTime = UtilityLocalDate.getNowTime();
|
//LocalDateTime startTime = UtilityLocalDate.getNowTime();
|
||||||
internalRefresh(advancedDataSource.getConnection(), menuConfig);
|
internalRefresh(advancedDataSource.getConnection(), menuConfig);
|
||||||
//logger.debug("Menu refresh time: " + ChronoUnit.SECONDS.between(startTime, UtilityLocalDate.getNowTime()));
|
//logger.debug("Menu refresh time: " + ChronoUnit.SECONDS.between(startTime, UtilityLocalDate.getNowTime()));
|
||||||
|
} catch (Exception ex) {
|
||||||
|
logger.error("Errore durante l'aggiornamento del menu di " + advancedDataSource.getProfileName(), ex);
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user