Skip to content

Commit 3558cd5

Browse files
committed
Merge pull request #226 from JLLeitschuh/chore/versionNumberInExceptionAlert
Adds Version Number to ExceptionAlert's system info
2 parents 1116646 + f1fc8bb commit 3558cd5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ui/src/main/java/edu/wpi/grip/ui/ExceptionAlert.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ private String generateExceptionMessage(Throwable throwable) {
189189
private String generateSystemInfoMessage() {
190190
final StringBuilder systemInfo = new StringBuilder("## System Info:\n\n");
191191
systemInfo.append("Property Name | Property \n ----- | -----\n");
192+
systemInfo.append("GRIP Version | " + edu.wpi.grip.core.Main.class.getPackage().getImplementationVersion() + "\n");
192193
for (String option : systemOptions) {
193194
systemInfo.append(option).append(" | ").append(System.getProperty(option)).append("\n");
194195
}

0 commit comments

Comments
 (0)