From 5ccd6a3368273140d59435845ba37185ff032cf7 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Fri, 19 Jan 2024 21:06:27 +0100 Subject: [PATCH] chore: removed a useless log. --- .../readerforselfossv2/android/fragments/ArticleFragment.kt | 4 ---- 1 file changed, 4 deletions(-) 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 6686134..3062466 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 @@ -52,7 +52,6 @@ import org.kodein.di.DIAware import org.kodein.di.android.x.closestDI import org.kodein.di.instance import java.net.MalformedURLException -import java.net.SocketTimeoutException import java.net.URL import java.util.* import java.util.concurrent.ExecutionException @@ -264,10 +263,7 @@ class ArticleFragment : Fragment(), DIAware { } else { openInBrowserAfterFailing() } - } catch (e: SocketTimeoutException) { - openInBrowserAfterFailing() } catch (e: Exception) { - e.sendSilentlyWithAcraWithName("getContentFromMercury > $url") openInBrowserAfterFailing() } }