Handle errors during log download

This commit is contained in:
benbierens 2024-04-15 11:37:14 +02:00
parent 630dc2814a
commit eed989cbf5
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A
2 changed files with 11 additions and 4 deletions

View File

@ -98,7 +98,7 @@ namespace DistTestCore
}
catch (Exception ex)
{
fixtureLog.Error("Cleanup failed: " + ex.Message);
fixtureLog.Error("Cleanup failed: " + ex);
GlobalTestFailure.HasFailed = true;
}
}

View File

@ -92,6 +92,8 @@ namespace DistTestCore
}
public void DownloadAllLogs()
{
try
{
foreach (var rc in runningContainers)
{
@ -101,5 +103,10 @@ namespace DistTestCore
}
}
}
catch (Exception ex)
{
Log.Error("Exception during log download: " + ex);
}
}
}
}