Don't throw null exception
This commit is contained in:
1 parent
8e84b5b67b
commit
f8c5caf6bc
1 file changed
+3
-1
@@ -120,7 +120,9 @@ public class EhEngine {
|
||||
throw new StatusCodeException(code);
|
||||
}
|
||||
|
||||
throw e;
|
||||
if (e != null) {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
private static void throwException(Call call, int code, @Nullable Headers headers,
|
||||
|
||||
Reference in new issue
Block a user