diff --git a/EventListener/GuardListener.php b/EventListener/GuardListener.php index c8f00d9..03c779d 100644 --- a/EventListener/GuardListener.php +++ b/EventListener/GuardListener.php @@ -75,7 +75,7 @@ private function getVariables(GuardEvent $event) $token = $this->tokenStorage->getToken(); if (null === $token) { - throw new InvalidTokenConfigurationException(sprintf('There are no tokens available for workflow %s.', $event->getWorkflowName())); + throw new InvalidTokenConfigurationException(sprintf('There are no tokens available for workflow "%s".', $event->getWorkflowName())); } if (null !== $this->roleHierarchy) {