diff --git a/IOB-WIN/AdapterForm.cs b/IOB-WIN/AdapterForm.cs index 2f66de3f..2c86ade4 100644 --- a/IOB-WIN/AdapterForm.cs +++ b/IOB-WIN/AdapterForm.cs @@ -186,12 +186,20 @@ namespace IOB_WIN // se abilitato autoload conf leggo file corretto... if (utils.CRB("autoLoadConf")) { - loadIniFile(defConfFilePath); - lgInfo("INI LOADED"); - loadPersistLayer(utils.defPersLayerFile); - lgInfo("PersLayerFile READ"); - iobObj.loadPersData(); - lgInfo("PersLayerFile LOADED"); + try + { + + loadIniFile(defConfFilePath); + lgInfo("INI LOADED"); + loadPersistLayer(utils.defPersLayerFile); + lgInfo("PersLayerFile READ"); + iobObj.loadPersData(); + lgInfo("PersLayerFile LOADED"); + } + catch (Exception exc) + { + displayTaskAndLog(string.Format("Eccezione in autoLoadConf: {0}", exc)); + } } else { diff --git a/IOB-WIN/MainForm.cs b/IOB-WIN/MainForm.cs index d887fc56..2bc0f2df 100644 --- a/IOB-WIN/MainForm.cs +++ b/IOB-WIN/MainForm.cs @@ -254,10 +254,18 @@ namespace IOB_WIN // se abilitato autoload conf leggo file corretto... if (utils.CRB("autoLoadConf")) { - loadIniFile(utils.mainConfFilePath); - lgInfo("INI LOADED"); - // avvio child come richiesto! - startAdapters(); + try + { + + loadIniFile(utils.mainConfFilePath); + lgInfo("INI LOADED"); + // avvio child come richiesto! + startAdapters(); + } + catch (Exception exc) + { + displayTaskAndLog(string.Format("Eccezione in myInit: {0}", exc)); + } } else { diff --git a/Jenkinsfile b/Jenkinsfile index 716dd3f8..3623077b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=311']) { + withEnv(['NEXT_BUILD_NUMBER=312']) { // env.versionNumber = VersionNumber(versionNumberString : '1.18.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '1.18.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'MAPO-IOB-WIN'