mirror of
https://github.com/Radarr/Radarr
synced 2025-01-01 12:54:21 +00:00
GlobalExceptionHandlers are now registered with other loggers
This commit is contained in:
parent
23a30f3771
commit
a3042197c5
3 changed files with 2 additions and 3 deletions
|
@ -29,6 +29,8 @@ public static void Register(IStartupContext startupContext, bool updateApp, bool
|
|||
|
||||
_isConfigured = true;
|
||||
|
||||
GlobalExceptionHandlers.Register();
|
||||
|
||||
var appFolderInfo = new AppFolderInfo(startupContext);
|
||||
|
||||
if (Debugger.IsAttached)
|
||||
|
|
|
@ -20,7 +20,6 @@ public static void Start(StartupContext startupContext, IUserAlert userAlert, Ac
|
|||
{
|
||||
try
|
||||
{
|
||||
GlobalExceptionHandlers.Register();
|
||||
X509CertificateValidationPolicy.Register();
|
||||
|
||||
Logger.Info("Starting NzbDrone - {0} - Version {1}", Assembly.GetCallingAssembly().Location, Assembly.GetExecutingAssembly().GetName().Version);
|
||||
|
|
|
@ -37,8 +37,6 @@ public static void Main(string[] args)
|
|||
|
||||
X509CertificateValidationPolicy.Register();
|
||||
|
||||
GlobalExceptionHandlers.Register();
|
||||
|
||||
_container = UpdateContainerBuilder.Build(startupArgument);
|
||||
|
||||
Logger.Info("Updating NzbDrone to version {0}", BuildInfo.Version);
|
||||
|
|
Loading…
Reference in a new issue