Skip to content

Commit

Permalink
Do not stop let scheduler-listener notification throw Error
Browse files Browse the repository at this point in the history
  • Loading branch information
kagkarlsson committed Jul 23, 2024
1 parent 257578c commit 7f1130d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void onCandidateEvent(CandidateEventType type) {
public void fireAndLogErrors(SchedulerListener listener, String method, Runnable r) {
try {
r.run();
} catch (RuntimeException e) {
} catch (Throwable e) {
LOG.warn(
"Listener '{}' method '{}' threw an unexpected Exception",
listener.getClass().getName(),
Expand Down

0 comments on commit 7f1130d

Please sign in to comment.