1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

Fixed: Slower daemon startup loop if Sonarr runs into non-recoverable errors such as unwritable pid/appfolder/config file.

This commit is contained in:
Taloth Saldono
2017-07-28 23:40:12 +02:00
parent f7f155be1f
commit 84d2d6a1d5
6 changed files with 112 additions and 14 deletions
@@ -2,6 +2,7 @@
using System.IO;
using NLog;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Exceptions;
namespace NzbDrone.Common.Processes
{
@@ -38,7 +39,7 @@ namespace NzbDrone.Common.Processes
catch (Exception ex)
{
_logger.Error(ex, "Unable to write PID file {0}", filename);
throw;
throw new SonarrStartupException(ex, "Unable to write PID file {0}", filename);
}
}
}