diff --git a/app/src/main/java/com/topjohnwu/magisk/core/model/module/LocalModule.kt b/app/src/main/java/com/topjohnwu/magisk/core/model/module/LocalModule.kt index f9b0a02a0..d1c7df947 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/model/module/LocalModule.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/model/module/LocalModule.kt @@ -1,5 +1,6 @@ package com.topjohnwu.magisk.core.model.module +import com.squareup.moshi.JsonDataException import com.topjohnwu.magisk.core.Const import com.topjohnwu.magisk.di.ServiceLocator import com.topjohnwu.superuser.Shell @@ -121,6 +122,8 @@ data class LocalModule( } } catch (e: IOException) { Timber.w(e) + } catch (e: JsonDataException) { + Timber.w(e) } return false }