Cleanup exception messages

Closes #2054
This commit is contained in:
Mark McDowall 2017-07-26 07:17:25 -07:00
parent d257b926dc
commit 5efff4d481
No known key found for this signature in database
GPG Key ID: D4CEFA9A718052E0
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using NLog;
using NzbDrone.Common.Cache;
@ -177,12 +177,12 @@ namespace NzbDrone.Core.DataAugmentation.Scene
}
else
{
_logger.Warn("Received empty list of mapping. will not update.");
_logger.Warn("Received empty list of mapping. will not update");
}
}
catch (Exception ex)
{
_logger.Error(ex, "Failed to Update Scene Mappings.");
_logger.Error(ex, "Failed to Update Scene Mappings");
}
}

View File

@ -68,14 +68,14 @@ namespace NzbDrone.Core.Indexers.Newznab
}
catch (XmlException ex)
{
_logger.Debug(ex, "Failed to parse newznab api capabilities for {0}.", indexerSettings.BaseUrl);
_logger.Debug(ex, "Failed to parse newznab api capabilities for {0}", indexerSettings.BaseUrl);
ex.WithData(response);
throw;
}
catch (Exception ex)
{
_logger.Error(ex, "Failed to determine newznab api capabilities for {0}, using the defaults instead till Sonarr restarts.", indexerSettings.BaseUrl);
_logger.Error(ex, "Failed to determine newznab api capabilities for {0}, using the defaults instead till Sonarr restarts", indexerSettings.BaseUrl);
}
return capabilities;