diff --git a/root/ContrattoSEI/GestoreTrimestrale_branch_applyingMVVM/ViewModels/AppViewModel.cs b/root/ContrattoSEI/GestoreTrimestrale_branch_applyingMVVM/ViewModels/AppViewModel.cs index cf641f9..88a19b9 100644 --- a/root/ContrattoSEI/GestoreTrimestrale_branch_applyingMVVM/ViewModels/AppViewModel.cs +++ b/root/ContrattoSEI/GestoreTrimestrale_branch_applyingMVVM/ViewModels/AppViewModel.cs @@ -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) {