Skip to content

Commit 80d7510

Browse files
committed
Some updates to some of the error messages
1 parent 602ff21 commit 80d7510

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

FRC-Extension/MonoCode/MonoDeploy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ internal async Task DeployMono()
7575
}
7676
else
7777
{
78-
writer.WriteLine("Mono not installed successfully");
78+
writer.WriteLine("Mono not installed successfully. Please try again.");
7979
}
8080

8181
//Removing ipk files from the RoboRIO

FRC-Extension/RoboRIOCode/DeployManager.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,15 @@ public async Task DeployCode(string teamNumber, SettingsPageGrid page, bool debu
6262
if (!(await CheckMonoInstall()))
6363
{
6464
//TODO: Make this error message better
65-
OutputWriter.Instance.WriteLine("Mono not properly installed. ");
65+
OutputWriter.Instance.WriteLine("Mono not properly installed. Please try reinstalling to Mono Runtime.");
6666
return;
6767
}
6868
OutputWriter.Instance.WriteLine("Mono correctly installed");
6969
OutputWriter.Instance.WriteLine("Checking RoboRIO Image");
7070
if (!(await CheckRoboRioImage()))
7171
{
72-
OutputWriter.Instance.WriteLine("roboRIO Image does not match plugin, allowed image versions: " + string.Join(", ", DeployProperties.RoboRioAllowedImages.ToArray()));
72+
OutputWriter.Instance.WriteLine("RoboRIO Image does not match plugin, allowed image versions: " + string.Join(", ", DeployProperties.RoboRioAllowedImages.ToArray()));
73+
OutputWriter.Instance.WriteLine("Please follow FIRST's instructions on imaging your RoboRIO, and try again.");
7374
return;
7475
}
7576
OutputWriter.Instance.WriteLine("RoboRIO Image Correct");

0 commit comments

Comments
 (0)