From 91e318a2d6bdc926f4f9e784ca8f0c5b2840626a Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns Date: Wed, 17 Feb 2021 15:16:47 +0100 Subject: [PATCH] BUGFIX: Include listener class name in exception message --- .../Mapping/DefaultEventToListenerMappingProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/EventListener/Mapping/DefaultEventToListenerMappingProvider.php b/Classes/EventListener/Mapping/DefaultEventToListenerMappingProvider.php index 5800772..3737fa2 100644 --- a/Classes/EventListener/Mapping/DefaultEventToListenerMappingProvider.php +++ b/Classes/EventListener/Mapping/DefaultEventToListenerMappingProvider.php @@ -77,7 +77,7 @@ public function getEventStoreIdentifierForListenerClassName(string $listenerClas return $eventStoreIdentifier; } } - throw new \InvalidArgumentException('No mappings found for Event Listener "%s"', 1579187905); + throw new \InvalidArgumentException(sprintf('No mappings found for Event Listener "%s"', $listenerClassName), 1579187905); } /**