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

[ErrorHandler] Never throw on warnings triggered by assert() and set assert.exception=1 in Debug::enable()#35645

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
fabpot merged 1 commit intosymfony:4.4fromnicolas-grekas:eh-assert
Feb 8, 2020

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

Because we don't useassert(), this is something we completely overlooked, but warnings triggered should not throw as there is already a dedicated exception mode when usingassert().

This turns this exception mode to 1 in debug mode and logs the assert() warnings in prod.

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

fabpot added a commit that referenced this pull requestFeb 8, 2020
…() and set assert.exception=1 in Debug::enable() (nicolas-grekas)This PR was merged into the 4.4 branch.Discussion----------[ErrorHandler] Never throw on warnings triggered by assert() and set assert.exception=1 in Debug::enable()| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Because we don't use `assert()`, this is something we completely overlooked, but warnings triggered should not throw as there is already a dedicated exception mode when using `assert()`.This turns this exception mode to 1 in debug mode and logs the assert() warnings in prod.Commits-------f18ef6c [ErrorHandler] Never throw on warnings triggered by assert() and set assert.exception=1 in Debug::enable()
@fabpotfabpot merged commitf18ef6c intosymfony:4.4Feb 8, 2020
@nicolas-grekasnicolas-grekas deleted the eh-assert branchFebruary 8, 2020 16:52
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

+1 more reviewer

@TobionTobionTobion approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@fabpot@Tobion@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp