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.
1 parent c302c03 commit 620981aCopy full SHA for 620981a
src/main/java/rx/exceptions/Exceptions.java
@@ -77,7 +77,7 @@ public static void throwIfFatal(Throwable t) {
77
if (t instanceof OnErrorNotImplementedException) {
78
throw (OnErrorNotImplementedException) t;
79
} else if (t instanceof OnErrorFailedException) {
80
- Throwable cause = ((OnErrorFailedException) t).getCause();
+ Throwable cause = t.getCause();
81
if (cause instanceof RuntimeException) {
82
throw (RuntimeException) cause;
83
} else {
0 commit comments