We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75878ea commit b5dc7aeCopy full SHA for b5dc7ae
1 file changed
src/Service/QueueManager.php
@@ -142,11 +142,7 @@ public function getNextJob(): Promise
142
} catch (\Throwable $exception) {
143
yield $this->beanstalkClient->bury($jobBeanstalkId);
144
145
- throw new JobNotFoundException(
146
- sprintf('Cannot fetch job %s from ElasticSearch. Job has been buried.', $jobUuid),
147
- 0,
148
- $exception
149
- );
+ throw new JobNotFoundException($jobUuid, 0, $exception);
150
}
151
152
$this->saveJobBeanstalkId($job, $jobBeanstalkId);
0 commit comments