just check statusCode

This commit is contained in:
Kyle Spearrin 2018-08-15 09:01:00 -04:00
parent 9f26f9f377
commit d56c5ff4f1
1 changed files with 1 additions and 1 deletions

View File

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