Skip to content

Commit 2203a0e

Browse files
Ousmane NDIAYENyholm
authored andcommitted
Error message explanation (#61)
* typo ? Either I don't understand the meaning... * Error message enhancement Added a more explicit error message
1 parent 5f9ff8c commit 2203a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private function validateAuthenticationType(array $expected, array $actual, $typ
144144
}
145145

146146
throw new InvalidConfigurationException(sprintf(
147-
'Storage type "%s" has valid keys "%s" but got "%s"',
147+
'Storage type "%s" received invalid key "%s". Please choose one of "%s".',
148148
$typeName,
149149
implode(', ', $expected),
150150
implode(', ', $actual)

0 commit comments

Comments
 (0)