mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +01:00
Split os name + arch and version in debug, fix log in UpdateChecker
This commit is contained in:
parent
516f6410c9
commit
e827ea603a
@ -135,8 +135,8 @@ public class DebugReport {
|
||||
+ " (" + System.getProperty("java.vendor.url") + ")");
|
||||
|
||||
values.put("operatingSystem", System.getProperty("os.name")
|
||||
+ " " + System.getProperty("os.version")
|
||||
+ " (" + System.getProperty("os.arch") + ")");
|
||||
values.put("operatingSystemVersion", System.getProperty("os.version"));
|
||||
|
||||
Runtime runtime = Runtime.getRuntime();
|
||||
values.put("cores", runtime.availableProcessors());
|
||||
|
@ -134,8 +134,7 @@ public class UpdateChecker {
|
||||
log(check, logUpToDate);
|
||||
return true;
|
||||
} else {
|
||||
discordSRV.logger().error("Update check" + (isFirstPartyNotification ? "s" : "")
|
||||
+ " failed: unknown version");
|
||||
logger.error("Update check" + (isFirstPartyNotification ? "s" : "") + " failed: unknown version");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user