mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 23:45:46 +02:00
GlobalExceptionHandlers are now registered with other loggers
This commit is contained in:
@@ -29,6 +29,8 @@ namespace NzbDrone.Common.Instrumentation
|
||||
|
||||
_isConfigured = true;
|
||||
|
||||
GlobalExceptionHandlers.Register();
|
||||
|
||||
var appFolderInfo = new AppFolderInfo(startupContext);
|
||||
|
||||
if (Debugger.IsAttached)
|
||||
|
@@ -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);
|
||||
|
@@ -37,8 +37,6 @@ namespace NzbDrone.Update
|
||||
|
||||
X509CertificateValidationPolicy.Register();
|
||||
|
||||
GlobalExceptionHandlers.Register();
|
||||
|
||||
_container = UpdateContainerBuilder.Build(startupArgument);
|
||||
|
||||
Logger.Info("Updating NzbDrone to version {0}", BuildInfo.Version);
|
||||
|
Reference in New Issue
Block a user