Throw an exception instead of exiting the method to release the job back to the queue to be retried later.
@Xum Thanks. Yes i tried this throwing exception solution. I was looking for if there is any another way or any best practice.
Throwing exception is what documentation proposes. There's also another way to release the job mentioned in the docs.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community