From 6b1c643f7bf959b7f49fed394e27d9c12a59ef4b Mon Sep 17 00:00:00 2001 From: jasquat Date: Thu, 28 Sep 2023 15:58:42 -0400 Subject: [PATCH] just look for aborted in the error on interstital page w/ burnettk --- spiffworkflow-frontend/src/components/ProcessInterstitial.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spiffworkflow-frontend/src/components/ProcessInterstitial.tsx b/spiffworkflow-frontend/src/components/ProcessInterstitial.tsx index b1350d96..535a0a67 100644 --- a/spiffworkflow-frontend/src/components/ProcessInterstitial.tsx +++ b/spiffworkflow-frontend/src/components/ProcessInterstitial.tsx @@ -59,7 +59,7 @@ export default function ProcessInterstitial({ setState('CLOSED'); // we know that this server sent events lib gets these sorts of errors when you are on another tab or window while it is working. // it's fine - const wasAbortedError = /was aborted/.test(error.message); + const wasAbortedError = /\baborted\b/.test(error.message); if (!wasAbortedError) { addError(error); throw error;