mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-26 20:06:28 -08:00
log server version on startup (#380)
This commit is contained in:
1 parent
47c76c9c9e
commit
2ee9d5080f
1 file changed
+3
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user