Skip to content

Commit 316baf6

Browse files
committed
Properly ignore
1 parent ce9740b commit 316baf6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/RestSharp/RestClient.Async.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ async Task<HttpResponse> ExecuteRequestAsync(RestRequest request, CancellationTo
153153
// ReSharper disable once PossibleMultipleEnumeration
154154
Options.CookieContainer?.AddCookies(url, cookiesHeader);
155155
}
156-
catch (CookieException) when (!Options.IgnoreInvalidCookies) {
157-
throw;
156+
catch (CookieException) when (Options.IgnoreInvalidCookies) {
157+
// Ignore
158158
}
159159
}
160160
}

0 commit comments

Comments
 (0)