Skip to content

Commit 80cce8e

Browse files
committed
RetryHelper.Do ignore DirectoryNotFoundException exception
1 parent de23300 commit 80cce8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/coverlet.core/Helpers/RetryHelper.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ public T Do<T>(
5757
}
5858
catch (DirectoryNotFoundException)
5959
{
60-
throw;
60+
// do nothing
61+
return default;
6162
}
6263
catch (IOException ex)
6364
{

0 commit comments

Comments
 (0)