We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 131a663 + 900beb1 commit cbf8edfCopy full SHA for cbf8edf
src/main/java/rx/internal/operators/OperatorScan.java
@@ -20,6 +20,7 @@
20
import rx.Observable.Operator;
21
import rx.Producer;
22
import rx.Subscriber;
23
+import rx.exceptions.Exceptions;
24
import rx.exceptions.OnErrorThrowable;
25
import rx.functions.Func0;
26
import rx.functions.Func2;
@@ -103,7 +104,9 @@ public void onNext(T currentValue) {
103
104
try {
105
this.value = accumulator.call(this.value, currentValue);
106
} catch (Throwable e) {
107
+ Exceptions.throwIfFatal(e);
108
child.onError(OnErrorThrowable.addValueAsLastCause(e, currentValue));
109
+ return;
110
}
111
112
child.onNext(this.value);
0 commit comments