|
|
@ -32,7 +32,11 @@ namespace NzbDrone
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Logger.Fatal(e, "EPIC FAIL: " + e.Message);
|
|
|
|
Logger.Fatal(e, "EPIC FAIL: " + e.Message);
|
|
|
|
var message = string.Format("{0}: {1}", e.GetType().Name, e.ToString());
|
|
|
|
var message = string.Format("{0}: {1}", e.GetType().Name, e.ToString());
|
|
|
|
MessageBox.Show(text: message, buttons: MessageBoxButtons.OK, icon: MessageBoxIcon.Error, caption: "Epic Fail!");
|
|
|
|
|
|
|
|
|
|
|
|
if (RuntimeInfo.IsUserInteractive)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
MessageBox.Show($"{e.GetType().Name}: {e.Message}", buttons: MessageBoxButtons.OK, icon: MessageBoxIcon.Error, caption: "Epic Fail!");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|