Skip to content

Commit d7bffa9

Browse files
committed
fix(subscribeToResult): throw error in subscriber with inner observable
- closes #2618
1 parent 74ff463 commit d7bffa9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/util/subscribeToResult.ts

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export function subscribeToResult<T>(outerSubscriber: OuterSubscriber<any, any>,
3030
destination.complete();
3131
return null;
3232
} else {
33+
destination.syncErrorThrowable = true;
3334
return result.subscribe(destination);
3435
}
3536
} else if (isArrayLike(result)) {

0 commit comments

Comments
 (0)