mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: EZTV logging generic error when there were no results
This commit is contained in:
@@ -154,7 +154,7 @@ namespace NzbDrone.Core.Indexers
|
||||
}
|
||||
catch (HttpException httpException)
|
||||
{
|
||||
if ((int)httpException.Response.StatusCode == 429)
|
||||
if ((int) httpException.Response.StatusCode == 429)
|
||||
{
|
||||
_logger.Warn("API Request Limit reached for {0}", this);
|
||||
}
|
||||
@@ -170,6 +170,11 @@ namespace NzbDrone.Core.Indexers
|
||||
{
|
||||
_logger.Warn("Invalid API Key for {0} {1}", this, url);
|
||||
}
|
||||
catch (IndexerException ex)
|
||||
{
|
||||
var message = String.Format("{0} - {1}", ex.Message, url);
|
||||
_logger.WarnException(message, ex);
|
||||
}
|
||||
catch (Exception feedEx)
|
||||
{
|
||||
feedEx.Data.Add("FeedUrl", url);
|
||||
|
Reference in New Issue
Block a user