Skip to content

Commit

Permalink
Improved the exception handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitMaliDeveloper committed Jun 26, 2024
1 parent a902f15 commit 352c403
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ import java.io.InputStream
import java.io.OutputStream
import java.io.PipedInputStream
import java.io.PipedOutputStream
import java.lang.reflect.InvocationTargetException
import java.net.URLDecoder
import javax.inject.Inject

Expand Down Expand Up @@ -278,7 +277,7 @@ class ZimFileReader constructor(
}
val infoPair = try {

Check warning on line 278 in core/src/main/java/org/kiwix/kiwixmobile/core/reader/ZimFileReader.kt

View check run for this annotation

Codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/reader/ZimFileReader.kt#L278

Added line #L278 was not covered by tests
article?.directAccessInformation
} catch (ignore: InvocationTargetException) {
} catch (ignore: Exception) {
Log.e(
TAG,
"Could not get directAccessInformation for uri = $uri \n" +
Expand Down

0 comments on commit 352c403

Please sign in to comment.