1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 01:27:00 +00:00

updated indexer error logging

This commit is contained in:
kay.one 2012-02-27 18:35:25 -08:00
parent 783f32a849
commit ada0a3bfbc
2 changed files with 5 additions and 4 deletions

View file

@ -193,18 +193,18 @@ private List<EpisodeParseResult> Fetch(IEnumerable<string> urls)
{
if (webException.Message.Contains("503"))
{
_logger.Warn("{0} server is currently unbelievable. {1}", Name, webException.Message);
_logger.Warn("{0} server is currently unbelievable.{1} {2}", Name,url, webException.Message);
}
else
{
webException.Data.Add("FeedUrl", url);
_logger.ErrorException("An error occurred while processing feed: " + Name, webException);
_logger.ErrorException("An error occurred while processing feed. " + url, webException);
}
}
catch (Exception feedEx)
{
feedEx.Data.Add("FeedUrl", url);
_logger.ErrorException("An error occurred while processing feed: " + Name, feedEx);
_logger.ErrorException("An error occurred while processing feed. " + url, feedEx);
}
}

View file

@ -45,6 +45,7 @@
#changesOverview {
margin-top: 15px;
float: left;
font-size: 20px;
}
</style>
}
@ -92,7 +93,7 @@
</div>
</div>
<div id="changesOverview" style="border-color: transparent;">
<h1><div id="editingCount"></div></h1>
<div id="editingCount"></div>
</div>
</div>