mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-13 01:58:44 +02:00
just check statusCode
This commit is contained in:
parent
9f26f9f377
commit
d56c5ff4f1
@ -209,7 +209,7 @@ export class AuthService {
|
|||||||
this.kdfIterations = preloginResponse.kdfIterations;
|
this.kdfIterations = preloginResponse.kdfIterations;
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (!(e instanceof ErrorResponse) || e.statusCode !== 404) {
|
if (e == null || e.statusCode !== 404) {
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user