Closed 0x4c6565 closed 2 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.
$this->fail()
JobProcessed
JobFailed
I will submit a PR to rework the DefaultEventManager class to handle this
DefaultEventManager
@imTigger Hey, any update on this one? Seems to be happening a lot here.
It would appear that failing a job via
$this->fail()
also causesJobProcessed
event to be raised, overriding the failed status set when handling the previousJobFailed
event.I will submit a PR to rework the
DefaultEventManager
class to handle this