We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a4fb3 commit 7b48c32Copy full SHA for 7b48c32
src/Queue/Jobs/RabbitMQJob.php
@@ -85,14 +85,17 @@ public function attempts(): int
85
return ($laravelAttempts) + 1;
86
}
87
88
+ /**
89
+ * @param null $e
90
+ */
91
public function fail($e = null): void
92
{
- parent::fail($e);
-
93
// We must tel rabbitMQ this Job is failed
94
// The message must be rejected when the Job marked as failed, in case rabbitMQ wants to do some extra magic.
95
// like: Death lettering the message to an other exchange/routing-key.
96
$this->rabbitmq->reject($this);
97
+
98
+ parent::fail($e);
99
100
101
/**
0 commit comments