Apply suggestions from code review

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/6593/head
Bond-009 3 years ago committed by GitHub
parent 8fec510971
commit 12a54c070e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -487,7 +487,7 @@ namespace MediaBrowser.Providers.Manager
{
using var response = await provider.GetImageResponse(url, cancellationToken).ConfigureAwait(false);
// Sometimes providers send back bad url's. Just move to the next image
// Sometimes providers send back bad urls. Just move to the next image
if (response.StatusCode == HttpStatusCode.NotFound || response.StatusCode == HttpStatusCode.Forbidden)
{
_logger.LogDebug("{Url} returned {StatusCode}, ignoring", url, response.StatusCode);
@ -594,7 +594,7 @@ namespace MediaBrowser.Providers.Manager
{
using var response = await provider.GetImageResponse(url, cancellationToken).ConfigureAwait(false);
// Sometimes providers send back bad url's. Just move to the next image
// Sometimes providers send back bad urls. Just move to the next image
if (response.StatusCode == HttpStatusCode.NotFound || response.StatusCode == HttpStatusCode.Forbidden)
{
_logger.LogDebug("{Url} returned {StatusCode}, ignoring", url, response.StatusCode);

Loading…
Cancel
Save