Fixes exception in CodexDistTests
This commit is contained in:
parent
74ca512f92
commit
9a46e20b4a
|
@ -1,6 +1,4 @@
|
||||||
using System.Diagnostics;
|
namespace Utils
|
||||||
|
|
||||||
namespace Utils
|
|
||||||
{
|
{
|
||||||
public static class Time
|
public static class Time
|
||||||
{
|
{
|
||||||
|
|
|
@ -139,9 +139,16 @@ namespace CodexTests
|
||||||
private void DeleteBlockRepo(List<ICodexNode> codexNodes)
|
private void DeleteBlockRepo(List<ICodexNode> codexNodes)
|
||||||
{
|
{
|
||||||
foreach (var node in codexNodes)
|
foreach (var node in codexNodes)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
node.DeleteRepoFolder();
|
node.DeleteRepoFolder();
|
||||||
}
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Log($"Failed to delete repo folder for node {node.GetName()} : {ex}");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue