@nuskin/react-search-sdk 1.0.0-trying-again.2 → 1.0.0-trying-again.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -348,6 +348,13 @@ function createSearchService(options = {}) {
348
348
  locationLike,
349
349
  country: localeParts.country,
350
350
  getMarketConfig
351
+ }).catch((error) => {
352
+ catalogRequestConfigPromise = null;
353
+ console.warn(
354
+ "[search] Could not load the market configuration for the suggestions:",
355
+ error
356
+ );
357
+ throw error;
351
358
  });
352
359
  }
353
360
  return catalogRequestConfigPromise;