Skip to content

Commit

Permalink
Update Consumer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Feb 28, 2024
1 parent 303d995 commit 6fd491b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Process/Consumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function onWorkerStart()
$connection->onConsumeFailure(function ($exeption, $package) {
$consumer = $this->_consumers[$package['queue']] ?? null;
if ($consumer && method_exists($consumer, 'onConsumeFailure')) {
call_user_func([$consumer, 'onConsumeFailure'], $exeption, $package);
return call_user_func([$consumer, 'onConsumeFailure'], $exeption, $package);
}
});
}
Expand Down

0 comments on commit 6fd491b

Please # to comment.