Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chaz6chez committed Feb 26, 2024
1 parent b96edf4 commit 0ca496d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builders/Traits/MessageQueueMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public function consume(Worker $worker, bool $del = true): bool
} catch (\Throwable $throwable) {
// republish
$header->_count = $header->_count + 1;
$header->_error = $throwable->getMessage();
$header->_error = "{$throwable->getMessage()} [{$throwable->getFile()}:{$throwable->getLine()}]";
// republish都将刷新使用redis stream自身的id,自定义id无效
$header->_id = '*';
if ($this->requeue($body, $header->toArray())) {
Expand Down

0 comments on commit 0ca496d

Please sign in to comment.