We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f20d3b5 + 620981a commit aea1e3bCopy full SHA for aea1e3b
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