Fixed an issue where opening the app with a deeplink may cause the app not to redirect to the correct URL (#2514)

This commit is contained in:
Devin Binnie
2023-01-23 12:28:04 -05:00
committed by GitHub
parent 9852f1f4a8
commit a68e3ffacf

View File

@@ -174,6 +174,10 @@ export class MattermostView extends EventEmitter {
this.status = Status.ERROR;
return;
}
if (err.code && err.code.startsWith('ERR_ABORTED')) {
// If the loading was aborted, we shouldn't be retrying
return;
}
this.loadRetry(loadURL, err);
});
}