From 8f50749fa0ea773df08593527f72b2cd47e7c89e 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 b1350d964..535a0a672 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;