Removed HttpStatusException

pull/214/head
M66B 10 months ago
parent fe3f0a0120
commit e686c966f7

@ -43,7 +43,6 @@ import androidx.room.PrimaryKey;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;
import org.jsoup.HttpStatusException;
import org.jsoup.nodes.Document; import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element; import org.jsoup.nodes.Element;
@ -1460,7 +1459,7 @@ public class EntityRule {
} catch (Throwable ex) { } catch (Throwable ex) {
Log.w(ex); Log.w(ex);
} }
throw new HttpStatusException(error, status, url); throw new IOException(error);
} }
} finally { } finally {
if (connection != null) if (connection != null)

Loading…
Cancel
Save