Skip to content

Commit

Permalink
[TransactionalMessenger] Fix for DispatchException when terminate com…
Browse files Browse the repository at this point in the history
…mand
  • Loading branch information
fractalzombie committed Mar 28, 2024
1 parent c662914 commit 667b453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Exception/DispatchException.php
Expand Up @@ -25,7 +25,7 @@ final class DispatchException extends \LogicException

public static function fromSignal(ConsoleSignalEvent $event): self
{
$message = sprintf(self::MESSAGE_SIGNAL_CONSOLE_EVENT, $event->getCommand());
$message = sprintf(self::MESSAGE_SIGNAL_CONSOLE_EVENT, $event->getCommand()->getName());

return new self($message, $event->getHandlingSignal());
}
Expand Down

0 comments on commit 667b453

Please sign in to comment.