Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of ParseError in controllers
It regressed in #34894, which moved the rescue to the wrong method. `_wrapper_enabled?` can access the parameters and the exception will raise there before even entering `_perfomr_parameter_wrapping`. Closes #38285.
- Loading branch information
1 parent
bcf3752
commit 7d2d00a
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters