Update connection failure text (close #196)

This commit is contained in:
2023-07-21 22:02:53 +08:00
parent caf18eaa7a
commit 9524ea5ab4

View File

@ -152,7 +152,11 @@ namespace GrasscutterTools.Pages
}
catch (Exception ex)
{
#if DEBUG
MessageBox.Show(ex.ToString(), Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
#else
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
#endif
}
if (isOcEnabled)
{