Skip to content

Commit 29684f5

Browse files
committed
wip
1 parent a97d7b4 commit 29684f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Illuminate/Queue/FailoverQueue.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public function push($job, $data = '', $queue = null)
9494
return $this->manager->connection($connection)->push($job, $data, $queue);
9595
} catch (Throwable $e) {
9696
$lastException = $e;
97+
9798
$this->events->dispatch(new QueueFailedOver($connection, $job));
9899
}
99100
}
@@ -141,6 +142,7 @@ public function later($delay, $job, $data = '', $queue = null)
141142
return $this->manager->connection($connection)->later($delay, $job, $data, $queue);
142143
} catch (Throwable $e) {
143144
$lastException = $e;
145+
144146
$this->events->dispatch(new QueueFailedOver($connection, $job));
145147
}
146148
}

0 commit comments

Comments
 (0)