Catch AssertionError

This commit is contained in:
Tim203 2021-06-08 15:31:50 +02:00
parent 7aa05426b6
commit 60e6f8c162
No known key found for this signature in database
GPG key ID: 064EE9F5BF7C3EE8

View file

@ -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);