Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpKernel] Set previous exception when rethrown from controller resolver#35722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@danut007ro
Copy link
Contributor

QA
Branch?4.4
Bug fix?no
New feature?no
Deprecations?no
LicenseMIT

If an\InvalidArgumentException is catched by ControllerResolver a new one is thrown. The old exception is not added asprevious 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.

@fabpotfabpot changed the base branch from4.4 to3.4February 15, 2020 07:21
@fabpotfabpotforce-pushed thecontroller_invalid_argument_exception branch fromab06cd9 to87d51c1CompareFebruary 15, 2020 07:21
@fabpot
Copy link
Member

Thank you@danut007ro.

fabpot added a commit that referenced this pull requestFeb 15, 2020
…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       | MITIf 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
@fabpotfabpot merged commit87d51c1 intosymfony:3.4Feb 15, 2020
This was referencedFeb 29, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@danut007ro@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp