Skip to content

Commit

Permalink
Adjust unhandled exception text
Browse files Browse the repository at this point in the history
  • Loading branch information
jvyden committed May 5, 2024
1 parent 525c8d9 commit d0385e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Refresher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ public static void Main(string[] args)
SentrySdk.CaptureException((Exception)eventArgs.ExceptionObject);
SentrySdk.Flush();
MessageBox.Show($"""
There was an unhandled error in Refresher!
*Please* screenshot this message box and send it to us over GitHub or Discord with details on what you were doing. This is likely a bug in Refresher.
There was an unhandled error in Refresher.
This has been automatically reported to us. The exception details has been displayed for further debugging:
Exception details: {eventArgs.ExceptionObject}
{eventArgs.ExceptionObject}
""",
"Critical Error");
Expand All @@ -88,10 +88,10 @@ There was an unhandled error in Refresher!
SentrySdk.CaptureException(ex);
SentrySdk.Flush();
MessageBox.Show($"""
There was an unhandled error in Refresher!
*Please* screenshot this message box and send it to us over GitHub or Discord with details on what you were doing. This is likely a bug in Refresher.
There was an unhandled error in Refresher.
This has been automatically reported to us. The exception details has been displayed for further debugging:

Exception details: {ex}
{ex}
""", "Critical Error");
}
App.Dispose();
Expand Down

0 comments on commit d0385e9

Please sign in to comment.