mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-16 21:15:33 -04:00
Log fatal for windows app when fails to start
This commit is contained in:
@@ -29,6 +29,7 @@ namespace NzbDrone
|
||||
}
|
||||
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!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user