Co-Authored-By: taloth <taloth@users.noreply.github.com>pull/6/head
parent
6da9868716
commit
2f6b0c77ea
@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace NzbDrone.Common.Http
|
||||||
|
{
|
||||||
|
public class UnexpectedHtmlContentException : HttpException
|
||||||
|
{
|
||||||
|
public UnexpectedHtmlContentException(HttpResponse response)
|
||||||
|
: base(response.Request, response, $"Site responded with browser content instead of api data. This disruption may be temporary, please try again later. [{response.Request.Url}]")
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue