@shopify/hydrogen 1.7.1 → 1.7.2

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.
@@ -14,11 +14,12 @@ const defaultLogger = {
14
14
  },
15
15
  error(context, error, ...extra) {
16
16
  const url = context ? ` ${context.url}` : '';
17
+ const extraMessage = extra.length ? `\n${extra.join('\n')}` : '';
17
18
  if (error instanceof Error) {
18
- console.error(red(`Error processing route:${url}\n${error.stack}`));
19
+ console.error(red(`Error processing route:${url}\n${error.stack}${extraMessage}`));
19
20
  }
20
21
  else {
21
- console.error(red(`Error:${url} ${error}`));
22
+ console.error(red(`Error:${url} ${error}${extraMessage}`));
22
23
  }
23
24
  },
24
25
  fatal(context, ...args) {
@@ -1 +1 @@
1
- export declare const LIB_VERSION = "1.7.1";
1
+ export declare const LIB_VERSION = "1.7.2";
@@ -1 +1 @@
1
- export const LIB_VERSION = '1.7.1';
1
+ export const LIB_VERSION = '1.7.2';
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "engines": {
8
8
  "node": ">=14"
9
9
  },
10
- "version": "1.7.1",
10
+ "version": "1.7.2",
11
11
  "description": "Modern custom Shopify storefronts",
12
12
  "license": "MIT",
13
13
  "main": "dist/esnext/index.js",