Skip to content

Commit 0945490

Browse files
committed
Using UUID when available
1 parent 91c5c75 commit 0945490

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/BatchRetryCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ public function handle()
7979
protected function retry($failedJob)
8080
{
8181
if ($this->option('dry-run')) {
82-
$this->comment('[DRY RUN] Retrying job with ID ' . $failedJob->id);
82+
$this->comment('[DRY RUN] Retrying job with ID ' . $failedJob->uuid ?? $failedJob->id);
8383
return;
8484
}
8585

86-
$this->call('queue:retry', ['id' => $failedJob->id]);
86+
$this->call('queue:retry', ['id' => $failedJob->uuid ?? $failedJob->id]);
8787
}
8888
}

0 commit comments

Comments
 (0)