Only log the throwable message

This commit is contained in:
onebeastchris 2024-03-15 13:47:53 +01:00
parent 8659dcf8e4
commit 90826df207
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public final class Bootstraps {
try {
kernelVersion = Native.KERNEL_VERSION;
} catch (Throwable e) {
GeyserImpl.getInstance().getLogger().debug("Could not determine kernel version! " + e);
GeyserImpl.getInstance().getLogger().debug("Could not determine kernel version! " + e.getMessage());
kernelVersion = null;
}