mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-04 18:38:14 +00:00
Log fatal for windows app when fails to start
This commit is contained in:
parent
54b83e2e91
commit
0725f865c1
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ namespace NzbDrone
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Logger.FatalException("EPIC FAIL: " + e.Message, e);
|
||||||
var message = string.Format("{0}: {1}", e.GetType().Name, e.Message);
|
var message = string.Format("{0}: {1}", e.GetType().Name, e.Message);
|
||||||
MessageBox.Show(text: message, buttons: MessageBoxButtons.OK, icon: MessageBoxIcon.Error, caption: "Epic Fail!");
|
MessageBox.Show(text: message, buttons: MessageBoxButtons.OK, icon: MessageBoxIcon.Error, caption: "Epic Fail!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue