mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Fixed output message
This commit is contained in:
parent
e7052aebe4
commit
d0818daeed
@ -15,18 +15,15 @@ public static class Bootstrap
|
||||
private static IContainer _container;
|
||||
private static readonly Logger Logger = NzbDroneLogger.GetLogger();
|
||||
|
||||
|
||||
public static void Start(StartupContext startupContext, IUserAlert userAlert, Action<IContainer> startCallback = null)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
GlobalExceptionHandlers.Register();
|
||||
IgnoreCertErrorPolicy.Register();
|
||||
|
||||
Logger.Info("Starting NzbDrone Console. Version {0}", Assembly.GetExecutingAssembly().GetName().Version);
|
||||
|
||||
|
||||
if (!PlatformValidation.IsValidate(userAlert))
|
||||
{
|
||||
throw new TerminateApplicationException("Missing system requirements");
|
||||
@ -92,8 +89,6 @@ private static void EnsureSingleInstance(bool isService)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private static ApplicationModes GetApplicationMode(StartupContext startupContext)
|
||||
{
|
||||
if (startupContext.Flags.Contains(StartupContext.HELP))
|
||||
@ -119,8 +114,6 @@ private static ApplicationModes GetApplicationMode(StartupContext startupContext
|
||||
return ApplicationModes.Interactive;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private static bool IsInUtilityMode(ApplicationModes applicationMode)
|
||||
{
|
||||
switch (applicationMode)
|
||||
@ -137,6 +130,5 @@ private static bool IsInUtilityMode(ApplicationModes applicationMode)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -38,7 +38,7 @@ public void LaunchWebUI()
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.Debug("none-interactive runtime. Won't attempt to open browser.");
|
||||
_logger.Debug("non-interactive runtime. Won't attempt to open browser.");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -23,7 +23,6 @@ public void Start()
|
||||
{
|
||||
_processPriorityCheckTimer = new Timer(EnsurePriority);
|
||||
_processPriorityCheckTimer.Change(TimeSpan.FromSeconds(15), TimeSpan.FromMinutes(30));
|
||||
|
||||
}
|
||||
|
||||
public virtual void EnsurePriority(object sender)
|
||||
|
Loading…
Reference in New Issue
Block a user