Merge branch 'release/Vers_2.1_04'

This commit is contained in:
Samuele Locatelli
2025-01-08 09:43:08 +01:00
+6 -1
View File
@@ -209,6 +209,11 @@ namespace LiMan.APi.Controllers
Log.Info($"Release recorded | {CurrRequest.CodApp} | {CurrRequest.VersNum} | {CurrRequest.VersText} | {CurrRequest.ReleaseDate} | {CurrRequest.RelTags}");
}
}
else
{
Log.Error($"Errore: licenza UpdateManager non TROVATA | {CurrRequest.MasterKey}");
await dataService.recordCall(CurrRequest.CodInst, CurrRequest.CodApp, $"ERROR POST:api/release/save:{CurrRequest.CodApp} | {CurrRequest.MasterKey}");
}
// recupero vers applicativo...
var rawResult = await dataService.ReleaseGetByApp(CurrRequest.CodApp);
if (rawResult != null && rawResult.Count > 0)
@@ -220,7 +225,7 @@ namespace LiMan.APi.Controllers
}
else
{
Log.Error($"Errore: licenza UpdateManager non trovata | {CurrRequest.MasterKey}");
Log.Error($"Errore: licenza UpdateManager non VALIDA | {CurrRequest.MasterKey}");
await dataService.recordCall(CurrRequest.CodInst, CurrRequest.CodApp, $"ERROR POST:api/release/save:{CurrRequest.CodApp} | {CurrRequest.MasterKey}");
}
return result;