just look for aborted in the error on interstital page w/ burnettk
This commit is contained in:
parent
777569021a
commit
6b1c643f7b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue