Skip to content
Open
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 @@ -7,6 +7,7 @@ namespace WordCount.WebService
{
using System;
using System.Net;
using System.Net.Http;
using System.Net.Sockets;
using Microsoft.ServiceFabric.Services.Communication.Client;

Expand All @@ -29,6 +30,11 @@ public bool TryHandleException(ExceptionInformation exceptionInformation, Operat
result = new ExceptionHandlingRetryResult(exceptionInformation.Exception, false, retrySettings, retrySettings.DefaultMaxRetryCount);
return true;
}
else if (exceptionInformation.Exception is HttpRequestException)
{
result = new ExceptionHandlingRetryResult(exceptionInformation.Exception, false, retrySettings, retrySettings.DefaultMaxRetryCount);
return true;
}

WebException we = exceptionInformation.Exception as WebException;

Expand Down