Merge pull request #3652 from little-headbanger/KEYCLOAK-4088_Http_wrapper_of_Angular_2_demo_app_doesn't_forward_http_errors

KEYCLOAK-4088 Http wrapper of Angular 2 demo app doesn't forward http…
This commit is contained in:
Stian Thorgersen 2017-01-05 13:19:36 +01:00 committed by GitHub
commit 56160ef12b

View file

@ -47,7 +47,7 @@ export class KeycloakHttp extends Http {
result.subscribe((response) => {
observer.next(response);
observer.complete();
});
}, (err) => observer.error(err));
});
return <Observable<Response>>Observable