From: Chocobozzz Date: Thu, 19 Jan 2017 21:26:39 +0000 (+0100) Subject: Client: fix client error handling X-Git-Tag: v0.0.1-alpha~552 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c625a9560b0f98907c678015b673b6f82efd0c36;p=oweals%2Fpeertube.git Client: fix client error handling --- diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index bc276ed99..06ffa1a42 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts @@ -5,6 +5,7 @@ import { Observable } from 'rxjs/Observable'; import { Subject } from 'rxjs/Subject'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/mergeMap'; +import 'rxjs/add/observable/throw'; // Do not use the barrel (dependency loop) import { AuthStatus } from '../../shared/auth/auth-status.model';