Skip to content

Commit

Permalink
Re-introduce unmerged grammar changes
Browse files Browse the repository at this point in the history
No idea why these were left out in the merge of #44.
  • Loading branch information
jvyden committed Jan 19, 2024
1 parent 10e6efa commit 30de2f2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
26 changes: 10 additions & 16 deletions Refresher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,12 @@ public static void Main(string[] args)
App = new Application();
App.UnhandledException += (sender, eventArgs)
=> MessageBox.Show($"""
Unhandled error!
PLEASE
PLEASE
PLEASE
Send this message box to us with details! This is never intentional, you should never see this!
{eventArgs.ExceptionObject}
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.
Exception details: {eventArgs.ExceptionObject}
""",
"Critical Error!");
"Critical Error");

try
{
Expand All @@ -43,14 +40,11 @@ Unhandled error!
catch(Exception ex)
{
MessageBox.Show($"""
Unhandled error!
PLEASE
PLEASE
PLEASE
Send this message box to us with details! This is never intentional, you should never see this!
{ex}
""", "Critical Error!");
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.
Exception details: {ex}
""", "Critical Error");
}
App.Dispose();
}
Expand Down
8 changes: 4 additions & 4 deletions Refresher/UI/ConsolePatchForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ protected override void PathChanged(object? sender, EventArgs ev)
{
if (this._remoteAddress.Text.Trim().Length == 0)
{
MessageBox.Show("Please input a valid IP!", "Error");
MessageBox.Show("Please enter a valid IP address. You can usually see this listed under Network settings on your PS3.", "Error");
return;
}

Expand Down Expand Up @@ -58,17 +58,17 @@ private bool InitializePatchAccessor()
}
catch(TimeoutException)
{
MessageBox.Show($"Timed out waiting for response from PS3...\nAre you sure the webMAN FTP server is running?", "Error!");
MessageBox.Show($"The FTP connection timed out while we were waiting for a response from the PS3.\nAre you sure the webMAN FTP server is running?", "Error");
return false;
}
catch(UriFormatException)
{
MessageBox.Show($"Unable to parse IP, make sure you typed it in correctly!", "Error!");
MessageBox.Show($"The IP address was unable to be parsed. Are you sure you typed it in correctly?", "Error");
return false;
}
catch(Exception ex)
{
MessageBox.Show($"Unknown error failed while connecting to PS3...\nAre you sure the IP is correct?\n\n{ex}", "Error!");
MessageBox.Show($"An unknown error occurred while connecting to the PS3.\n\nException details: {ex}", "Error");
return false;
}

Expand Down

0 comments on commit 30de2f2

Please sign in to comment.