@moonbase.sh/storefront-api 0.2.21 → 0.2.23

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.cjs CHANGED
@@ -289,7 +289,8 @@ async function handleResponseProblem(response) {
289
289
  try {
290
290
  const json = await response.json();
291
291
  problemDetails = problemDetailsSchema.parse(json);
292
- } catch (e) {
292
+ } catch (err) {
293
+ console.error("Could not handle response", err);
293
294
  throw new Error("An unknown problem occurred");
294
295
  }
295
296
  throw new MoonbaseError(