From 011aebc8020c24d066c260b6b9225a5b9bc4915a Mon Sep 17 00:00:00 2001 From: master <> Date: Tue, 10 Mar 2026 07:55:45 +0200 Subject: [PATCH] Ignore aborted navigations in ops policy sweep runtime accounting --- .../StellaOps.Web/scripts/live-ops-policy-action-sweep.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Web/StellaOps.Web/scripts/live-ops-policy-action-sweep.mjs b/src/Web/StellaOps.Web/scripts/live-ops-policy-action-sweep.mjs index 856a48edc..c94c1e8d0 100644 --- a/src/Web/StellaOps.Web/scripts/live-ops-policy-action-sweep.mjs +++ b/src/Web/StellaOps.Web/scripts/live-ops-policy-action-sweep.mjs @@ -565,11 +565,16 @@ async function main() { return; } + const errorText = request.failure()?.errorText ?? 'unknown'; + if (errorText === 'net::ERR_ABORTED') { + return; + } + runtime.requestFailures.push({ page: page.url(), method: request.method(), url, - error: request.failure()?.errorText ?? 'unknown', + error: errorText, }); }); page.on('response', (response) => {