Migliorie gestione exchange
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-05-26 13:03:56 +02:00
parent 2bf4edeffe
commit 201996e4b5

View File

@@ -91,6 +91,9 @@ public class ExchangeSystemManagerService {
private void executeExchange(StbExchangeConfig stbExchangeConfig) {
logger.info("Avvio EXCHANGE [" + stbExchangeConfig.getDescription() + "]");
stbExchangeConfig = (StbExchangeConfig) stbExchangeConfig.clone();
stbExchangeConfig.setSchedulationCron(null); //Blanco il campo schedulazione per evitare che venga salvato nel DB
StbExchangeConfigDetail executingStbExchangeConfigDetail = null;
try (MultiDBTransactionManager internalDb = new MultiDBTransactionManager(stbExchangeConfig.getInternalProfileDb())) {
@@ -215,6 +218,7 @@ public class ExchangeSystemManagerService {
} catch (Exception e) {
logger.error("Errore", e);
saveErrorLog(internalDb, stbExchangeConfig, executingStbExchangeConfigDetail, e);
throw new RuntimeException(e);
} finally {