From d7bffa90febc08071876c6b8fe893517d84a74b1 Mon Sep 17 00:00:00 2001 From: OJ Kwon Date: Sun, 13 Aug 2017 21:35:53 -0700 Subject: [PATCH] fix(subscribeToResult): throw error in subscriber with inner observable - closes #2618 --- src/util/subscribeToResult.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/subscribeToResult.ts b/src/util/subscribeToResult.ts index ae19fe5795..944921e17f 100644 --- a/src/util/subscribeToResult.ts +++ b/src/util/subscribeToResult.ts @@ -30,6 +30,7 @@ export function subscribeToResult(outerSubscriber: OuterSubscriber, destination.complete(); return null; } else { + destination.syncErrorThrowable = true; return result.subscribe(destination); } } else if (isArrayLike(result)) {