testaro 55.0.2 → 55.0.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/README.md +4 -3
- package/netWatch.js +0 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -839,9 +839,10 @@ You may store environment variables in an untracked `.env` file if you wish, and
|
|
|
839
839
|
AGENT=agentabc
|
|
840
840
|
DEBUG=false
|
|
841
841
|
JOBDIR=../testing/jobs
|
|
842
|
-
NETWATCH_URL_0_JOB=http://localhost:3000/api/assignJob/agentabc
|
|
843
|
-
NETWATCH_URL_0_OBSERVE=http://localhost:3000/api/granular/agentabc
|
|
844
|
-
NETWATCH_URL_0_REPORT=http://localhost:3000/api/takeReport/agentabc
|
|
842
|
+
NETWATCH_URL_0_JOB=http://localhost:3000/api/assignJob/agentabc
|
|
843
|
+
NETWATCH_URL_0_OBSERVE=http://localhost:3000/api/granular/agentabc
|
|
844
|
+
NETWATCH_URL_0_REPORT=http://localhost:3000/api/takeReport/agentabc
|
|
845
|
+
NETWATCH_URL_0_AUTH=abcxyz
|
|
845
846
|
NETWATCH_URLS=0
|
|
846
847
|
PUPPETEER_DISABLE_HEADLESS_WARNING=true
|
|
847
848
|
REPORTDIR=../testing/reports
|
package/netWatch.js
CHANGED
|
@@ -273,15 +273,11 @@ exports.netWatch = async (isForever, intervalInSeconds, isCertTolerant = true) =
|
|
|
273
273
|
else if (error.message) {
|
|
274
274
|
// Report this.
|
|
275
275
|
console.log(`ERROR: ${logStart}got error message ${error.message.slice(0, 200)}`);
|
|
276
|
-
// Abort the watch.
|
|
277
|
-
abort = true;
|
|
278
276
|
}
|
|
279
277
|
// Otherwise, i.e. if it was any other error with no message:
|
|
280
278
|
else {
|
|
281
279
|
// Report this.
|
|
282
280
|
console.log(`ERROR: ${logStart}got an error with no message`);
|
|
283
|
-
// Abort the watch.
|
|
284
|
-
abort = true;
|
|
285
281
|
}
|
|
286
282
|
resolve(true);
|
|
287
283
|
})
|