diff options
author | Allan Wang <me@allanwang.ca> | 2019-02-02 00:10:27 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-02-02 00:10:27 -0500 |
commit | 459359672b1f4266bc0f009c35f246fd90cce36a (patch) | |
tree | 41ce6a829a9b31bdc32ab9007d66c313e36985d3 /app/src/main/kotlin/com/pitchedapps/frost/fragments | |
parent | e874b788753ce69ea561b41dc13dfb230c750690 (diff) | |
download | frost-459359672b1f4266bc0f009c35f246fd90cce36a.tar.gz frost-459359672b1f4266bc0f009c35f246fd90cce36a.tar.bz2 frost-459359672b1f4266bc0f009c35f246fd90cce36a.zip |
Fix crash
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/fragments')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragmentBase.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragmentBase.kt b/app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragmentBase.kt index 9f26f3f7..37af690b 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragmentBase.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragmentBase.kt @@ -30,6 +30,7 @@ import com.pitchedapps.frost.utils.L import com.pitchedapps.frost.utils.frostJsoup import com.pitchedapps.frost.views.FrostRecyclerView import kotlinx.coroutines.Dispatchers +import kotlinx.coroutines.isActive import kotlinx.coroutines.withContext /** @@ -53,7 +54,7 @@ abstract class RecyclerFragment<T, Item : IItem<*, *>> : BaseFragment(), Recycle val data = try { reloadImpl(progress) } catch (e: Exception) { - L.e(e) { "Recycler reload fail" } + L.e(e) { "Recycler reload fail $baseUrl" } null } withMainContext { |