log server version on startup (#380)

This commit is contained in:
Erimel authored and GitHub committed 2022-12-13 19:12:07 +03:00
1 parent 47c76c9c9e
commit 2ee9d5080f
1 file changed
+3 -1
+3 -1
View File
@@ -50,6 +50,8 @@ public class Main {
e1.printStackTrace();
}
LogManager.info("Running version " + VERSION);
if (!SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_17)) {
LogManager.severe("SlimeVR start-up error! A minimum of Java 17 is required.");
JOptionPane
@@ -93,7 +95,7 @@ public class Main {
e.printStackTrace();
}
System.exit(1); // Exit in case error happened on init and window
// not appeared, but some thread
// not appeared, but some thread
// started
} finally {
try {