Skip to content

Commit

Permalink
Fix hardcoded listenerTag name in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lemoinem authored and fabpot committed Jan 5, 2014
1 parent b4a35ed commit 11c8b8d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -70,7 +70,7 @@ public function process(ContainerBuilder $container)
$priority = isset($event['priority']) ? $event['priority'] : 0;

if (!isset($event['event'])) {
throw new \InvalidArgumentException(sprintf('Service "%s" must define the "event" attribute on "kernel.event_listener" tags.', $id));
throw new \InvalidArgumentException(sprintf('Service "%s" must define the "event" attribute on "%s" tags.', $id, $this->listenerTag));
}

if (!isset($event['method'])) {
Expand Down

0 comments on commit 11c8b8d

Please sign in to comment.