Skip to content

Commit

Permalink
Catch AssertionError
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed Jun 8, 2021
1 parent 7aa0542 commit 60e6f8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private GeyserConnector(PlatformType platformType, GeyserBootstrap bootstrap) {
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);
Expand Down

0 comments on commit 60e6f8c

Please sign in to comment.