quick fix for auth error reporting

This commit is contained in:
Denys Vuika
2017-01-10 15:18:03 +00:00
parent dc28d5b679
commit a97c2f4336
@@ -86,7 +86,7 @@ export class AuthService {
this.loginSubject.next(response);
return {type: this.settingsService.getProviders(), ticket: response};
})
.catch(this.handleError);
.catch(err => this.handleError(err));
}
/**
@@ -112,7 +112,7 @@ export class AuthService {
this.logoutSubject.next(response);
return response;
})
.catch(this.handleError);
.catch(err => this.handleError(err));
}
/**