From 133592034881926dc2da63735fe7344bfedd9c31 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 16 May 2018 10:50:30 +0200 Subject: Fix rxjs throw --- client/src/app/shared/rest/rest-extractor.service.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'client/src/app/shared/rest') diff --git a/client/src/app/shared/rest/rest-extractor.service.ts b/client/src/app/shared/rest/rest-extractor.service.ts index 4cfe28536..db087d407 100644 --- a/client/src/app/shared/rest/rest-extractor.service.ts +++ b/client/src/app/shared/rest/rest-extractor.service.ts @@ -85,8 +85,6 @@ export class RestExtractor { errorObj.body = err.error } - observableThrowError(errorObj) - - return of(undefined) + return observableThrowError(errorObj) } } -- cgit v1.2.3