Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ internal static bool ShouldRetry(Exception exception, OperationContext operation
}
else
{
//Note that we use a blacklist here in order to have the most robust retry policy --
//Note that we use a disallow list here in order to have the most robust retry policy --
//attempting to guess all the possible exception types thrown by the network stack to craft a
//white list is error prone and so we avoid it.
if (exception is Microsoft.Rest.ValidationException)
{
//TODO: Consider blacklisting SystemException, but SystemException includes TimeoutException which it seems we probably want to retry on
//TODO: Consider adding SystemException to disallow list, but SystemException includes TimeoutException which it seems we probably want to retry on
shouldRetry = false;
}
else
Expand Down