imTigger / laravel-job-status

Add ability to track Job progress, status and result dispatched to Queue.
MIT License
407 stars 60 forks source link

Failed jobs not handled correctly #63

Closed 0x4c6565 closed 2 years ago

0x4c6565 commented 4 years ago

It would appear that failing a job via $this->fail() also causes JobProcessed event to be raised, overriding the failed status set when handling the previous JobFailed event.

I will submit a PR to rework the DefaultEventManager class to handle this

ansien commented 2 years ago

@imTigger Hey, any update on this one? Seems to be happening a lot here.