mirror of https://github.com/lidarr/Lidarr
Fixed: Ignore Priority monitor errors on mono
This commit is contained in:
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
|
||||
|
@ -35,9 +36,17 @@ namespace NzbDrone.Host
|
|||
}
|
||||
}
|
||||
catch (Exception 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…
Reference in New Issue