Fixed: Ignore Priority monitor errors on mono

pull/4/head
Mark McDowall 11 years ago
parent 1ade005a73
commit 42101d302b

@ -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);

@ -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);
}
}
}
}

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

Loading…
Cancel
Save