diff --git a/source/settlement-report/Orchestration.SettlementReports/Functions/SettlementReports/SettlementReportOrchestration.cs b/source/settlement-report/Orchestration.SettlementReports/Functions/SettlementReports/SettlementReportOrchestration.cs index 91f118d..c78989a 100644 --- a/source/settlement-report/Orchestration.SettlementReports/Functions/SettlementReports/SettlementReportOrchestration.cs +++ b/source/settlement-report/Orchestration.SettlementReports/Functions/SettlementReports/SettlementReportOrchestration.cs @@ -110,7 +110,8 @@ private static bool HandleDataSourceExceptions(RetryContext retryContext, ILogge // 1) From SQL. // 2) From BlobStorage. if (retryContext.LastFailure.ErrorType.Contains("SqlException") || - retryContext.LastFailure.ErrorType == typeof(RequestFailedException).FullName) + retryContext.LastFailure.ErrorType == typeof(RequestFailedException).FullName || + retryContext.LastFailure.ErrorType == typeof(OperationCanceledException).FullName) { return retryContext.LastAttemptNumber <= 2; }