core icon indicating copy to clipboard operation
core copied to clipboard

Catch Throwable in PublisherJobQueue

Open wezell opened this issue 2 years ago • 3 comments

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.

wezell avatar Aug 25 '22 12:08 wezell

PR: #22851

nollymar avatar Aug 26 '22 14:08 nollymar

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.

wezell avatar Sep 14 '22 18:09 wezell

Internal QA: Passed.

I checked this out using the IDE debugging feature. For this reason, I'm passing QA too

nollymar avatar Sep 15 '22 17:09 nollymar