Skip to content

Commit 3715c79

Browse files
author
Release-Agent
committed
''
1 parent 7bc77a7 commit 3715c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GeneralTools/DataverseClient/Client/ServiceClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,7 @@ internal async Task<OrganizationResponse> Command_ExecuteAsyncImpl(OrganizationR
18761876
catch (Exception ex)
18771877
{
18781878
bool isThrottled = false;
1879-
retry = ShouldRetry(req, ex, retryCount, out isThrottled) || !cancellationToken.IsCancellationRequested;
1879+
retry = ShouldRetry(req, ex, retryCount, out isThrottled) && !cancellationToken.IsCancellationRequested;
18801880
if (retry)
18811881
{
18821882
retryCount = await Utilities.RetryRequest(req, requestTrackingId, LockWait, logDt, _logEntry, SessionTrackingId, _disableConnectionLocking, _retryPauseTimeRunning, ex, errorStringCheck, retryCount, isThrottled, cancellationToken: cancellationToken).ConfigureAwait(false);

0 commit comments

Comments
 (0)