Skip to content

Commit

Permalink
Print the full exception stacktrace for reading Git commit info code
Browse files Browse the repository at this point in the history
  • Loading branch information
SNWCreations committed Jul 27, 2023
1 parent 5d8b43c commit f3520cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/snw/kookbc/impl/KBCClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public synchronized void start() {
gitProperties.load(getClass().getClassLoader().getResourceAsStream("kookbc_git_data.properties"));
getCore().getLogger().info("Compiled from Git commit {}, build at {}", gitProperties.get("git.commit.id.full"), gitProperties.get("git.build.time"));
} catch (NullPointerException | IOException e) {
getCore().getLogger().warn("Unable to read Git commit information. {}", e.getMessage());
getCore().getLogger().warn("Unable to read Git commit information", e);
}

if (SharedConstants.IS_SNAPSHOT) {
Expand Down

0 comments on commit f3520cf

Please sign in to comment.