Replies: 2 comments 5 replies
-
A try catch in the handle function of a job is considered old school? We need to scratch our right ear with our left hand? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Not sure if that is the case, but I see a themed party here. We already had a couple of PR's similar to this, can you tell if those are what you were looking for and if they got in? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a job middleware named FailOnException, when some specific exceptions are thrown in the job, we can immediately mark the job fail, avoiding the job from being retried.
However, when some exceptions are thrown in a job, I think we do need to handle them, and should mark the job as a success or ignore that exception, so I want to make a PR introducing the IgnoreException middleware.
Beta Was this translation helpful? Give feedback.
All reactions