Skip to content

Commit 21cdc24

Browse files
andrew-demblalshe
authored andcommitted
Fix generated validation error message for wrong exception mapping status code
1 parent f767f62 commit 21cdc24

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
@@ -1235,7 +1235,7 @@ private function addExceptionsSection(ArrayNodeDefinition $rootNode)
12351235
->info('The status code of the response. Null to let Symfony decide.')
12361236
->validate()
12371237
->ifTrue(function ($v) { return $v < 100 || $v > 599; })
1238-
->thenInvalid('The log level is not valid. Pick a value between 100 and 599.')
1238+
->thenInvalid('The status code is not valid. Pick a value between 100 and 599.')
12391239
->end()
12401240
->defaultNull()
12411241
->end()

0 commit comments

Comments
 (0)