inventory
inventory copied to clipboard
In store pickup silently discards exceptions
Currently, exceptions thrown during the in store pickup source distance calculations are being silently discarded. This PR simply logs the exceptions when they are caught.
Preconditions (*)
- Google API as Distance Provider
- Google API Key with invalid permissions (eg, referrer restrictions applied).
Steps to reproduce (*)
- Configure source selection as preconditions
- Navigate to checkout, and attempt a pick up at store address lookup
Expected result (*)
- Error message in logs outlining, when the lookup failed
Actual result (*)
- Error logs are empty, requiring a debugger/source changes to identify the failure reason
Hi @SamJUK. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.