remove status code from exception message

This commit is contained in:
Gary Wilber 2020-09-27 23:05:43 -07:00
parent 3ca9b13f99
commit 722ec43e25

View File

@ -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
};