diff --git a/NzbDrone.Console/ConsoleApp.cs b/NzbDrone.Console/ConsoleApp.cs index 726139f8a..3119cc811 100644 --- a/NzbDrone.Console/ConsoleApp.cs +++ b/NzbDrone.Console/ConsoleApp.cs @@ -8,8 +8,6 @@ namespace NzbDrone.Console { public static class ConsoleApp { - private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); - public static void Main(string[] args) { try @@ -21,7 +19,6 @@ public static void Main(string[] args) } catch (Exception e) { - Logger.FatalException(e.Message, e); System.Console.ReadLine(); } diff --git a/NzbDrone/WindowsApp.cs b/NzbDrone/WindowsApp.cs index e144b82cc..4d4dc9d69 100644 --- a/NzbDrone/WindowsApp.cs +++ b/NzbDrone/WindowsApp.cs @@ -9,7 +9,6 @@ namespace NzbDrone { public static class WindowsApp { - private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); public static void Main(string[] args) { @@ -24,7 +23,6 @@ public static void Main(string[] args) } catch (Exception e) { - Logger.FatalException(e.Message, e); var message = string.Format("{0}: {1}", e.GetType().Name, e.Message); MessageBox.Show(text: message, buttons: MessageBoxButtons.OK, icon: MessageBoxIcon.Error, caption: "Epic Fail!"); }