You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewRuntimeException("Observer.onError not implemented and error while unsubscribing.", newCompositeException(Arrays.asList(e, unsubscribeException)));
137
+
}
131
138
throw (OnErrorNotImplementedException) e2;
132
139
} else {
133
-
// if the onError itself fails then pass to the plugin
134
-
// see https://github.com/Netflix/RxJava/issues/216 for further discussion
thrownewRuntimeException("Error occurred when trying to propagate error to Observer.onError and during unsubscription.", newCompositeException(Arrays.asList(e, e2, unsubscribeException)));
151
+
}
152
+
139
153
thrownewRuntimeException("Error occurred when trying to propagate error to Observer.onError", newCompositeException(Arrays.asList(e, e2)));
140
154
}
141
-
} finally {
142
-
// auto-unsubscribe
155
+
}
156
+
// if we did not throw about we will unsubscribe here, if onError failed then unsubscribe happens in the catch
0 commit comments