Skip to content

Commit

Permalink
Merge pull request #3 from calmohallag/bugfix/next-handle-on-query
Browse files Browse the repository at this point in the history
Fix next handle on query
  • Loading branch information
calmohallag authored Jun 15, 2021
2 parents ed04b68 + 68565de commit b46530a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SymfonyMessenger/TransactionMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct(TransactionalConnection $connection)
public function handle(Envelope $envelope, StackInterface $stack): Envelope
{
if (\is_subclass_of($envelope->getMessage(), Query::class)) {
return $envelope;
return $stack->next()->handle($envelope, $stack);
}

try {
Expand Down

0 comments on commit b46530a

Please sign in to comment.