Skip to content

Catch exceptions in CacheRepository.prune()#85

Merged
ajkyffin merged 1 commit intomasterfrom
prune-exceptions
Jun 23, 2025
Merged

Catch exceptions in CacheRepository.prune()#85
ajkyffin merged 1 commit intomasterfrom
prune-exceptions

Conversation

@ajkyffin
Copy link
Member

@ajkyffin ajkyffin commented Jun 4, 2025

Exceptions thrown in EJB @Schedule methods cause the underlying EJBTimerService to crash which prevents any scheduled tasks from running, including StatusCheck.poll(). Catch and log any exceptions to prevent this.

@ajkyffin ajkyffin marked this pull request as ready for review June 11, 2025 16:37
@ajkyffin ajkyffin requested a review from patrick-austin June 11, 2025 16:37
@ajkyffin ajkyffin merged commit 408a2b0 into master Jun 23, 2025
1 check passed
@ajkyffin ajkyffin deleted the prune-exceptions branch June 23, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants