mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-08-02 16:59:14 +08:00
Update connection failure text (close #196)
This commit is contained in:
parent
caf18eaa7a
commit
9524ea5ab4
@ -152,7 +152,11 @@ namespace GrasscutterTools.Pages
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
#if DEBUG
|
||||||
MessageBox.Show(ex.ToString(), Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show(ex.ToString(), Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
#else
|
||||||
|
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if (isOcEnabled)
|
if (isOcEnabled)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user