Skip to content

Commit

Permalink
feat(jans-keycloak-integration): enhancements to jans-keycloak-integr…
Browse files Browse the repository at this point in the history
…ation #8614

* minor bugfix to scheduler. did not show fatal startup errors in log file

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
  • Loading branch information
uprightech committed Jun 18, 2024
1 parent 086808d commit f444ea1
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ public static void main(String[] args) throws InterruptedException, ParserCreate
}
System.exit(-1);
return;
}catch(Exception e) {
log.error("Fatal error starting application",e);
if(jobScheduler != null ) {
jobScheduler.stop();
}
System.exit(-1);
return;
}

}
Expand Down Expand Up @@ -271,7 +278,7 @@ public static class ShutdownHook extends Thread {
public void run() {

try {
log.debug("Shutting down application");
log.info("Shutting down application");
if (jobScheduler != null) {
jobScheduler.stop();
}
Expand Down

0 comments on commit f444ea1

Please sign in to comment.