diff --git a/src/Task.php b/src/Task.php index e121fb1..b1b2cb6 100644 --- a/src/Task.php +++ b/src/Task.php @@ -301,6 +301,8 @@ protected function runUrl() /** * Sends a job to the queue. + * + * @return bool Status of the queue push */ protected function runQueue() { @@ -315,7 +317,7 @@ protected function runQueue() ]); } - return service('queue')->push(...$queueAction); + return service('queue')->push(...$queueAction)->getStatus(); } /**