@empiricalrun/playwright-utils 0.7.2 → 0.7.4
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 +12 -0
- package/dist/reporter/upload.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/reporter/upload.js
CHANGED
|
@@ -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
|
-
if (error.$metadata.httpStatusCode !== 412)
|
|
119
|
-
|
|
117
|
+
if (error.$metadata.httpStatusCode !== 412) {
|
|
118
|
+
console.log(`R2 Error - ${file} ${config.sourceDir} ${config.destinationDir} \nError: ${error}`);
|
|
120
119
|
throw error;
|
|
120
|
+
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
return;
|