-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Handling exception on individual callback #27134
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi @alok0590. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @alok0590,
Your changes looks good.
Could you sign Adobe CLA, fix static tests and cover your changes with some tests?
Hi @ihor-sviziev, thank you for the review. |
✔️ QA Passed |
@slavvka @ihor-sviziev Anything I need to do to get this PR merged ? |
@alok0590 for now no actions required from your side. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alok0590 please resolve the conflicts and re-run tests after upgrade to PHP 7.4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alok0590 please resolve the conflicts and re-run tests after upgrade to PHP 7.4
Pull Request state was updated. Re-review required.
Hi @ihor-sviziev, thank you for the review. |
✔️ QA Passed |
Failed functional test not related to changes from this PR. |
Hi @alok0590, thank you for your contribution! |
Description
This PR changes the behaviour how callbacks are executed after DB changes are committed. The issue was if there is an exception from one call back it results in failing other callbacks as well.
So put the try/catch on individual callback instead of entire foreach block.
Manual testing scenarios (*)
Resolved issues: