how to receive failures on a chain job in queue #3551
-
hi all , i am trying to import a file in queue and validate the rows , on fails i want to capture the errors and email the rows to the user . when i use it out of queue like below :
i can see and capture the
the
but again i get the same result and its empty . |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Because it's a queued job, you can't access the failures in the controller. You have to use the failed event, and stored it somewhere like a cache and then retrieve it in your chained job |
Beta Was this translation helpful? Give feedback.
Because it's a queued job, you can't access the failures in the controller. You have to use the failed event, and stored it somewhere like a cache and then retrieve it in your chained job