diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt index da5244b18..1673ceefc 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt @@ -254,6 +254,7 @@ class AnalyzeUrl( GET, POST } + @Throws(Exception::class) fun getResponse(): Call { return when { method == Method.POST -> { @@ -276,6 +277,7 @@ class AnalyzeUrl( } } + @Throws(Exception::class) fun getResponseAsync(): Deferred> { return when { method == Method.POST -> {