aggiunto controllo per evitare troppi log quando quella stored non manca

This commit is contained in:
Gianmarco Mucciariello 2025-06-23 15:48:41 +02:00
parent 92278ce48a
commit b3de866d14

View File

@ -1447,6 +1447,11 @@ namespace GestoreTrimestrale.ViewModels
private void ObtainLogs()
{
string getLogsProcedure = CACHE.getLogsProcedure;
if (string.IsNullOrEmpty(getLogsProcedure))
{
logger.Warn("getLogsProcedure is null or empty");
return;
}
DataTable result = null;
while (gestoreThread?.IsAlive == true)
{