Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #35722 [HttpKernel] Set previous exception when rethrown from con…
…troller resolver (danut007ro) This PR was submitted for the 4.4 branch but it was merged into the 3.4 branch instead. Discussion ---------- [HttpKernel] Set previous exception when rethrown from controller resolver | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | License | MIT If an `\InvalidArgumentException` is catched by ControllerResolver a new one is thrown. The old exception is not added as `previous` parameter on the new one so it is not visible on the exception page. This pull request adds old exception as previous on the new one, so it is also visible on the exception page. Thank you. Commits ------- 87d51c1 Set previous exception when rethrown from controller resolver
- Loading branch information