From 60e6f8c16268242e1d69885ecb5ccb137d2f4d44 Mon Sep 17 00:00:00 2001 From: Tim203 Date: Tue, 8 Jun 2021 15:31:50 +0200 Subject: [PATCH] Catch AssertionError --- .../src/main/java/org/geysermc/connector/GeyserConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/GeyserConnector.java b/connector/src/main/java/org/geysermc/connector/GeyserConnector.java index 1d11c52d9..ac77388ff 100644 --- a/connector/src/main/java/org/geysermc/connector/GeyserConnector.java +++ b/connector/src/main/java/org/geysermc/connector/GeyserConnector.java @@ -236,7 +236,7 @@ public class GeyserConnector { if (build != null) { buildNumber = Integer.parseInt(build); } - } catch (Exception e) { + } catch (Throwable e) { logger.error("Failed to read git.properties", e); } newsHandler = new NewsHandler(branch, buildNumber);