diff --git a/src/Illuminate/Queue/InteractsWithQueue.php b/src/Illuminate/Queue/InteractsWithQueue.php index 6b673b2a4271..0ea699a2923a 100644 --- a/src/Illuminate/Queue/InteractsWithQueue.php +++ b/src/Illuminate/Queue/InteractsWithQueue.php @@ -38,12 +38,13 @@ public function delete() /** * Fail the job from the queue. * + * @param \Throwable $e * @return void */ - public function fail() + public function fail($e) { if ($this->job) { - return $this->job->failed(); + return $this->job->failed($e); } }