Skip to content

Commit

Permalink
Replaced empty catch with finally
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian McLachlin committed Nov 2, 2016
1 parent ea81fcf commit f052310
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Illuminate/Queue/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,9 @@ protected function failJob($connectionName, $job, $e)
$job->delete();

$job->failed($e);
} catch (Exception $exception) {
} finally {
$this->raiseFailedJobEvent($connectionName, $job, $e);
}

$this->raiseFailedJobEvent($connectionName, $job, $e);
}

/**
Expand Down

0 comments on commit f052310

Please sign in to comment.