Skip to content

Commit b5096c4

Browse files
committed
minor error msg tweaks
1 parent 24fd78d commit b5096c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pdex/src/processing/mode/experimental/ErrorMessageSimplifier.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public static String getSimplifiedErrorMessage(Problem problem) {
9696
result = "Consider adding a \"=\"";
9797
}
9898
else {
99-
result = "Consider adding a \"" + args[0] + "\"";
99+
result = "Error on \"" + args[0] + "\"";
100100
}
101101
}
102102
}
@@ -122,7 +122,7 @@ public static String getSimplifiedErrorMessage(Problem problem) {
122122
result = getErrorMessageForBracket(args[1].charAt(0));
123123
}
124124
else {
125-
result = "Consider adding a \"" + args[1] + "\"";
125+
result = "Error on \"" + args[0] + "\"Consider adding a \"" + args[1] + "\"";
126126
}
127127
}
128128
break;

0 commit comments

Comments
 (0)