Support the ongoing development of Laravel.io →
Queues Jobs
Last updated 2 years ago.
0

Throw an exception instead of exiting the method to release the job back to the queue to be retried later.

0

@Xum Thanks. Yes i tried this throwing exception solution. I was looking for if there is any another way or any best practice.

0

Throwing exception is what documentation proposes. There's also another way to release the job mentioned in the docs.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

msankhala msankhala Joined 18 Feb 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.