GlobalExceptionHandlers are now registered with other loggers

This commit is contained in:
Keivan Beigi 2014-12-16 23:36:33 -08:00
parent 23a30f3771
commit a3042197c5
3 changed files with 2 additions and 3 deletions

View File

@ -29,6 +29,8 @@ namespace NzbDrone.Common.Instrumentation
_isConfigured = true;
GlobalExceptionHandlers.Register();
var appFolderInfo = new AppFolderInfo(startupContext);
if (Debugger.IsAttached)

View File

@ -20,7 +20,6 @@ namespace NzbDrone.Host
{
try
{
GlobalExceptionHandlers.Register();
X509CertificateValidationPolicy.Register();
Logger.Info("Starting NzbDrone - {0} - Version {1}", Assembly.GetCallingAssembly().Location, Assembly.GetExecutingAssembly().GetName().Version);

View File

@ -37,8 +37,6 @@ namespace NzbDrone.Update
X509CertificateValidationPolicy.Register();
GlobalExceptionHandlers.Register();
_container = UpdateContainerBuilder.Build(startupArgument);
Logger.Info("Updating NzbDrone to version {0}", BuildInfo.Version);