@auxcode/auxta 1.3.36-beta.0 → 1.3.37
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/build/cjs/auxta/configs/config.js +1 -1
- package/build/cjs/auxta/utilities/screenshot.helper.js +1 -0
- package/build/cjs/puppeteer/puppeteer.js +3 -0
- package/build/esm/auxta/configs/config.js +1 -1
- package/build/esm/auxta/utilities/screenshot.helper.js +1 -0
- package/build/esm/puppeteer/puppeteer.js +3 -0
- package/build/tsconfig-cjs.tsbuildinfo +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -49,7 +49,7 @@ function setupOverrideConfig(overrideConfig) {
|
|
|
49
49
|
}
|
|
50
50
|
exports.setupOverrideConfig = setupOverrideConfig;
|
|
51
51
|
exports.config = {
|
|
52
|
-
auxtaURL: "https://
|
|
52
|
+
auxtaURL: "https://auxta.live/.netlify/functions/",
|
|
53
53
|
baseURL: "",
|
|
54
54
|
siteURL: "",
|
|
55
55
|
organization: "",
|
|
@@ -104,6 +104,9 @@ class Puppeteer {
|
|
|
104
104
|
errMessage = err;
|
|
105
105
|
statusCode = 500;
|
|
106
106
|
screenshotBuffer = yield (0, screenshot_helper_1.captureScreenshot)();
|
|
107
|
+
if (screenshotBuffer == undefined) {
|
|
108
|
+
screenshotBuffer = yield (0, screenshot_helper_1.captureScreenshot)();
|
|
109
|
+
}
|
|
107
110
|
log_service_1.default.push('When', `Finished puppeteer process`, status_of_step_1.StatusOfStep.FAILED);
|
|
108
111
|
yield (0, report_service_1.postNotificationsOnFail)(uploadModel);
|
|
109
112
|
}
|
|
@@ -44,7 +44,7 @@ export function setupOverrideConfig(overrideConfig) {
|
|
|
44
44
|
return config;
|
|
45
45
|
}
|
|
46
46
|
export let config = {
|
|
47
|
-
auxtaURL: "https://
|
|
47
|
+
auxtaURL: "https://auxta.live/.netlify/functions/",
|
|
48
48
|
baseURL: "",
|
|
49
49
|
siteURL: "",
|
|
50
50
|
organization: "",
|
|
@@ -97,6 +97,9 @@ export class Puppeteer {
|
|
|
97
97
|
errMessage = err;
|
|
98
98
|
statusCode = 500;
|
|
99
99
|
screenshotBuffer = yield captureScreenshot();
|
|
100
|
+
if (screenshotBuffer == undefined) {
|
|
101
|
+
screenshotBuffer = yield captureScreenshot();
|
|
102
|
+
}
|
|
100
103
|
log.push('When', `Finished puppeteer process`, StatusOfStep.FAILED);
|
|
101
104
|
yield postNotificationsOnFail(uploadModel);
|
|
102
105
|
}
|