From 0725f865c1af8828e29d1e2ea16f5f6d75a7a602 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 6 Sep 2013 23:38:31 -0700 Subject: [PATCH] Log fatal for windows app when fails to start --- NzbDrone/WindowsApp.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NzbDrone/WindowsApp.cs b/NzbDrone/WindowsApp.cs index dd96cf596..5b20de23b 100644 --- a/NzbDrone/WindowsApp.cs +++ b/NzbDrone/WindowsApp.cs @@ -29,6 +29,7 @@ public static void Main(string[] args) } catch (Exception e) { + Logger.FatalException("EPIC FAIL: " + 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!"); }