just look for aborted in the error on interstital page w/ burnettk

This commit is contained in:
jasquat 2023-09-28 15:58:42 -04:00
parent 777569021a
commit 6b1c643f7b
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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;