5 months ago

How to fire an event whenever job gets failed

Posted 5 months ago by deepu07

Hi guys I wanna fire an event whenever laravel job gets failed. I’m trying to use

public function failed(Exception $exception)
        event(new JobFailed($exception));

Somehow it is not firing. do you guys have any idea why it is not firing?

Please sign in or create an account to participate in this conversation.