Skip to content

Commit

Permalink
Update connection failure text (close #196)
Browse files Browse the repository at this point in the history
  • Loading branch information
jie65535 committed Jul 21, 2023
1 parent caf18ea commit 9524ea5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/GrasscutterTools/Pages/PageOpenCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,11 @@ private async void BtnQueryServerStatus_Click(object sender, EventArgs e)
}
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)
{
Expand Down

0 comments on commit 9524ea5

Please sign in to comment.