Skip to content

Commit

Permalink
Added message box for any error thrown, not just the debug console.
Browse files Browse the repository at this point in the history
  • Loading branch information
sakakun committed Dec 25, 2024
1 parent 36479d4 commit 0ccd401
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ public static void DebugPoint(string content)
{
Console.WriteLine(content);
}
else
{
MessageBox.Show(content, "Program Error");
}
}

}
Expand Down

0 comments on commit 0ccd401

Please sign in to comment.