Disable Sentry Reporting based on analytics flag

This commit is contained in:
Keivan Beigi
2017-01-04 17:56:29 -08:00
parent a1f112e62f
commit dd7fdd8ace
7 changed files with 23 additions and 14 deletions
+3 -3
View File
@@ -33,12 +33,12 @@ namespace NzbDrone.Update
SecurityProtocolPolicy.Register();
X509CertificateValidationPolicy.Register();
var startupArgument = new StartupContext(args);
NzbDroneLogger.Register(startupArgument, true, true);
var startupContext = new StartupContext(args);
NzbDroneLogger.Register(startupContext, true, true);
Logger.Info("Starting Sonarr Update Client");
_container = UpdateContainerBuilder.Build(startupArgument);
_container = UpdateContainerBuilder.Build(startupContext);
_container.Resolve<UpdateApp>().Start(args);