Fixed: Ignore Priority monitor errors on mono

This commit is contained in:
Mark McDowall 2014-05-10 19:00:28 -07:00
parent 1ade005a73
commit 42101d302b
3 changed files with 11 additions and 3 deletions

View File

@ -55,7 +55,7 @@ namespace NzbDrone.Core.Update
_diskProvider.DeleteFolder(updateSandboxFolder, true);
}
_logger.ProgressInfo("Downloading update {0} [{1}]", updatePackage.Version, updatePackage.Branch);
_logger.ProgressInfo("Downloading update {0}", updatePackage.Version);
_logger.Debug("Downloading update package from [{0}] to [{1}]", updatePackage.Url, packageDestination);
_httpProvider.DownloadFile(updatePackage.Url, packageDestination);

View File

@ -2,6 +2,7 @@
using System.Diagnostics;
using System.Threading;
using NLog;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Processes;
namespace NzbDrone.Host
@ -36,7 +37,15 @@ namespace NzbDrone.Host
}
catch (Exception e)
{
_logger.WarnException("Unable to verify priority", e);
if (OsInfo.IsMono)
{
_logger.TraceException("Unable to verify priority", e);
}
else
{
_logger.WarnException("Unable to verify priority", e);
}
}
}
}

View File

@ -92,7 +92,6 @@ define(
initialize: function (options) {
if (!options.episodeCollection) {
throw 'episodeCollection is needed';
}