core
core copied to clipboard
Catch Throwable in PublisherJobQueue
Every once in awhile something is killing our PublisherJobQueue
stateful job in Quartz. When this happens, we do not see anything in the logs and the job just stops and never restarts. While we catch Exception
, I think we should catch Throwable
exceptions to prevent the job from dying.
PR: #22851
To test - run in a debugger, add a breakpoint and throw a new throwable
. If you see the PublisherJobQueue
job run again a minute later, it is good.
Internal QA: Passed.
I checked this out using the IDE debugging feature. For this reason, I'm passing QA too