Merge branch 'release/FixCounterTav_01'

This commit is contained in:
Samuele Locatelli
2025-09-08 16:24:29 +02:00
+5 -2
View File
@@ -759,7 +759,7 @@ namespace MP_IO.Controllers
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Errore in counter (get){0}{1}", Environment.NewLine, exc));
logger.lg.scriviLog($"Errore in counter TC (get){Environment.NewLine}{exc}");
answ = "NO";
}
return answ;
@@ -774,6 +774,9 @@ namespace MP_IO.Controllers
/// <returns></returns>
public string getCounterTCRec(string id)
{
// attenzione! poiché nell'URL il carattere "#" viene filtrato ci aspettiamo il
// carattere "|" che poi trasformiamo ora in "#"
id = id.Replace("|", "#");
string answ = "";
try
{
@@ -782,7 +785,7 @@ namespace MP_IO.Controllers
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Errore in counter TC (get){0}{1}", Environment.NewLine, exc));
logger.lg.scriviLog($"Errore in counter TC (get){Environment.NewLine}{exc}");
answ = "NO";
}
return answ;