7565-testToMaster #2567

Merged
alexm merged 250 commits from 7565-testToMaster into master 2024-06-11 06:31:18 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit da3c4cb8fc - Show all commits

View File

@ -47,8 +47,7 @@ export default class Auth {
switch (err.status) {
case 400:
case 401:
redirectToLogin();
break;
return redirectToLogin();
default:
return new Promise(resolve => {
setTimeout(() => {
@ -58,7 +57,6 @@ export default class Auth {
}, 2000);
});
}
console.error(err);
});
};
return loadWithRetry();