Skip to content

Commit

Permalink
Addition log manager load RuntimeException message, and also minor co…
Browse files Browse the repository at this point in the history
…mment improvement.
  • Loading branch information
credmond committed Oct 24, 2023
1 parent 09f509c commit c9804e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ public enum ApplicationControlAction {

static {
try {
// Reads logging property file from local runs, or embedded in a JAR
// Ensures logging.properties is applied, whether running application locally or via a JAR
LogManager.getLogManager().readConfiguration(SceneBuilderApp.class.getResourceAsStream("/logging.properties"));
} catch (IOException e) {
throw new RuntimeException(e);
throw new RuntimeException("Failed to initialise log manager", e);
}
}

Expand Down

0 comments on commit c9804e4

Please sign in to comment.