@empiricalrun/playwright-utils 0.7.2 → 0.7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - b7daaf4: fix: add r2 error logs
8
+
3
9
  ## 0.7.2
4
10
 
5
11
  ### Patch Changes
@@ -112,12 +112,12 @@ const run = async (config) => {
112
112
  urls[file] = fileUrl;
113
113
  }
114
114
  catch (err) {
115
- console.log(`R2 Error - ${file} ${config.sourceDir} ${config.destinationDir}`);
116
115
  const error = err;
117
116
  if (error["$metadata"]) {
118
117
  if (error.$metadata.httpStatusCode !== 412)
119
118
  // If-None-Match
120
- throw error;
119
+ console.log(`R2 Error - ${file} ${config.sourceDir} ${config.destinationDir}`);
120
+ throw error;
121
121
  }
122
122
  }
123
123
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/playwright-utils",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"