inventory icon indicating copy to clipboard operation
inventory copied to clipboard

In store pickup silently discards exceptions

Open SamJUK opened this issue 7 months ago • 1 comments

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 (*)

  1. Google API as Distance Provider
  2. Google API Key with invalid permissions (eg, referrer restrictions applied).

Steps to reproduce (*)

  1. Configure source selection as preconditions
  2. Navigate to checkout, and attempt a pick up at store address lookup

Expected result (*)

  1. Error message in logs outlining, when the lookup failed

Actual result (*)

  1. Error logs are empty, requiring a debugger/source changes to identify the failure reason

SamJUK avatar Apr 24 '25 11:04 SamJUK

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.

m2-assistant[bot] avatar Apr 24 '25 11:04 m2-assistant[bot]