mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
job add failed log
This commit is contained in:
@@ -82,4 +82,15 @@ class GenerateTemporaryInvite implements ShouldQueue
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle a job failure.
|
||||
*
|
||||
* @param \Throwable $exception
|
||||
* @return void
|
||||
*/
|
||||
public function failed(\Throwable $exception)
|
||||
{
|
||||
do_log("failed: " . $exception->getMessage() . $exception->getTraceAsString(), 'error');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user