Sfoglia il codice sorgente

remove status code from exception message

Gary Wilber 4 anni fa
parent
commit
722ec43e25
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      MediaBrowser.Providers/Manager/ProviderManager.cs

+ 1 - 1
MediaBrowser.Providers/Manager/ProviderManager.cs

@@ -160,7 +160,7 @@ namespace MediaBrowser.Providers.Manager
 
             if (response.StatusCode != HttpStatusCode.OK)
             {
-                throw new HttpException($"Invalid image received ({response.StatusCode}).")
+                throw new HttpException("Invalid image received.")
                 {
                     StatusCode = response.StatusCode
                 };