From 0b8f9c81307bbfe10e95e24424c34134bfbbe3f5 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Thu, 15 Mar 2018 10:28:43 +0100 Subject: [PATCH] update vers con log ricerca disegni --- .vs/config/applicationhost.config | 12 ++++++------ Jenkinsfile | 2 +- MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs | 10 ++++++++-- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.vs/config/applicationhost.config b/.vs/config/applicationhost.config index 45d32f0f..4c1a361d 100644 --- a/.vs/config/applicationhost.config +++ b/.vs/config/applicationhost.config @@ -170,7 +170,7 @@ - + @@ -178,7 +178,7 @@ - + @@ -186,7 +186,7 @@ - + @@ -202,7 +202,7 @@ - + @@ -226,7 +226,7 @@ - + @@ -234,7 +234,7 @@ - + diff --git a/Jenkinsfile b/Jenkinsfile index 83c17649..4aa0b419 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=712']) { + withEnv(['NEXT_BUILD_NUMBER=713']) { // env.versionNumber = VersionNumber(versionNumberString : '5.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '5.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'MAPO' diff --git a/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs b/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs index 3bdf117b..f57001f3 100644 --- a/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs +++ b/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs @@ -144,9 +144,15 @@ namespace MoonProTablet.WebUserControls { answ = string.Format("~/Files/Disegni/{0}.pdf", riga.Disegno); } + else + { + logger.lg.scriviLog(string.Format("Errore Articolo {0}: NON ho trovato il disegno {1}", riga.CodArticolo, riga.Disegno), tipoLog.INFO); + } + } + catch(Exception exc) + { + logger.lg.scriviLog(string.Format("Errore in ricostruzione URL disegno:{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION); } - catch - { } return answ; }