diff --git a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/fragments/ArticleFragment.kt b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/fragments/ArticleFragment.kt index 037e20d..4e5af91 100644 --- a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/fragments/ArticleFragment.kt +++ b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/fragments/ArticleFragment.kt @@ -347,7 +347,7 @@ class ArticleFragment : Fragment(), DIAware { val image = Glide.with(view).asBitmap().apply(glideOptions).load(url).submit().get() return WebResourceResponse("image/jpg", "UTF-8", getBitmapInputStream(image, Bitmap.CompressFormat.JPEG)) } catch ( e : ExecutionException) { - e.sendSilentlyWithAcraWithName("shouldInterceptRequest > jpeg") + e.sendSilentlyWithAcraWithName("shouldInterceptRequest > jpeg > $url") } } else if (url.lowercase(Locale.US).contains(".png")) { @@ -355,7 +355,7 @@ class ArticleFragment : Fragment(), DIAware { val image = Glide.with(view).asBitmap().apply(glideOptions).load(url).submit().get() return WebResourceResponse("image/jpg", "UTF-8", getBitmapInputStream(image, Bitmap.CompressFormat.PNG)) } catch ( e : ExecutionException) { - e.sendSilentlyWithAcraWithName("shouldInterceptRequest > png") + e.sendSilentlyWithAcraWithName("shouldInterceptRequest > png > $url") } } else if (url.lowercase(Locale.US).contains(".webp")) { @@ -363,7 +363,7 @@ class ArticleFragment : Fragment(), DIAware { val image = Glide.with(view).asBitmap().apply(glideOptions).load(url).submit().get() return WebResourceResponse("image/jpg", "UTF-8", getBitmapInputStream(image, Bitmap.CompressFormat.WEBP)) } catch ( e : ExecutionException) { - e.sendSilentlyWithAcraWithName("shouldInterceptRequest > webp") + e.sendSilentlyWithAcraWithName("shouldInterceptRequest > webp > $url") } }