Skip to content

Commit

Permalink
Merge pull request #285 from neos/bugfix/incomplete-exception-message
Browse files Browse the repository at this point in the history
BUGFIX: Include listener class name in exception message
  • Loading branch information
bwaidelich authored Feb 17, 2021
2 parents dd47833 + 91e318a commit fc04603
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit fc04603

Please sign in to comment.