-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Improve developer experience: RuntimeException thrown by AbstractFactory::createObject now contains the reason. #26572
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
…ory::createObject now contains the reason. This implements feature request magento#26550
Hi @marvinhinz. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
@kandy @buskamuza are tests needed to merge this? thank you! |
bump |
@kandy @buskamuza ? :) |
Hi, is there any progeress on this? |
@ihor-sviziev maybe you could take a look at this too? I still encounter this problem often while developing. It would be really nice to have this merged! :) |
Hi @ihor-sviziev, thank you for the review. |
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.
@marvinhinz Could you fix the failed static tests? Thanks!
Hi @ihor-sviziev, thank you for the review. |
Hi @ihor-sviziev, please review the test coverage. |
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.
Looks good. Approved ✔
Thx for covering it, I thought it will be too hard
Hi @ihor-sviziev, thank you for the review. |
✔️ QA Passed |
… AbstractFactory::createObject now contains the reason. #26572
Hi @marvinhinz, thank you for your contribution! |
This implements feature request #26550
When debugging an error that prevents object creation, the original exception message is not printed, its just logged. I think it would improve the developer experience when working on cli code, to see the message instantly and not having it to look up in the log.
Description (*)
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)