diff --git a/mobile/src/freedom/java/be/mygod/vpnhotspot/util/UpdateChecker.kt b/mobile/src/freedom/java/be/mygod/vpnhotspot/util/UpdateChecker.kt index 5e4b65ee..c7e77a6b 100644 --- a/mobile/src/freedom/java/be/mygod/vpnhotspot/util/UpdateChecker.kt +++ b/mobile/src/freedom/java/be/mygod/vpnhotspot/util/UpdateChecker.kt @@ -10,6 +10,7 @@ import kotlinx.coroutines.flow.cancellable import kotlinx.coroutines.flow.flow import org.json.JSONArray import timber.log.Timber +import java.io.IOException import java.net.HttpURLConnection import java.net.URL import java.time.Instant @@ -97,6 +98,8 @@ object UpdateChecker { emit(update) } catch (_: CancellationException) { return@flow + } catch (e: IOException) { + Timber.i(e) } catch (e: Exception) { Timber.w(e) } finally {