-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Improve exception message #26586
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
Improve exception message #26586
Conversation
Hi @oroskodias. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
app/code/Magento/Checkout/Model/ShippingInformationManagement.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Checkout/Model/ShippingInformationManagement.php
Outdated
Show resolved
Hide resolved
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.
Some more information about logging the exceptions, after reading @ihor-sviziev recommendations.
app/code/Magento/Checkout/Model/ShippingInformationManagement.php
Outdated
Show resolved
Hide resolved
Hi @oroskodias, |
@ihor-sviziev I'm unable to proceed with it currently |
@magento run all tests |
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.
Please take a look into comments.
app/code/Magento/Checkout/Model/ShippingInformationManagement.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Checkout/Test/Unit/Model/ShippingInformationManagementTest.php
Show resolved
Hide resolved
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.
I'm sorry, maybe I wasn't clear.
You don't need doc block for const at all 👍
app/code/Magento/Checkout/Test/Unit/Model/ShippingInformationManagementTest.php
Outdated
Show resolved
Hide resolved
Hi @lbajsarowicz, thank you for the review. |
Hi @ihor-sviziev, thank you for the review. |
✔️ QA Passed |
Hi @oroskodias, thank you for your contribution! |
This fix improves the exception message in class
\Magento\Checkout\Model\ShippingInformationManagement