Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 80cce8e

Browse files
committedJan 21, 2025·
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
 

‎src/coverlet.core/Helpers/RetryHelper.cs

Lines changed: 2 additions & 1 deletion
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)
Please sign in to comment.