|
|
@ -25,7 +25,15 @@ namespace NzbDrone.Console
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var startupArgs = new StartupContext(args);
|
|
|
|
var startupArgs = new StartupContext(args);
|
|
|
|
|
|
|
|
try
|
|
|
|
|
|
|
|
{
|
|
|
|
NzbDroneLogger.Register(startupArgs, false, true);
|
|
|
|
NzbDroneLogger.Register(startupArgs, false, true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
System.Console.WriteLine("NLog Exception: " + ex.ToString());
|
|
|
|
|
|
|
|
throw;
|
|
|
|
|
|
|
|
}
|
|
|
|
Bootstrap.Start(startupArgs, new ConsoleAlerts());
|
|
|
|
Bootstrap.Start(startupArgs, new ConsoleAlerts());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (SonarrStartupException ex)
|
|
|
|
catch (SonarrStartupException ex)
|
|
|
|