diff options
author | Allan Wang <me@allanwang.ca> | 2018-12-28 21:41:38 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2018-12-28 21:41:38 -0500 |
commit | 66a6657b81e6274e1eac33c4c7379d3db2c463fb (patch) | |
tree | 8e6202efb768d954145038cb8642453c62650c5e /app/src/main/kotlin/com/pitchedapps/frost/fragments | |
parent | 5393f171e4b489b90fa93df1b23288178d9daaef (diff) | |
download | frost-66a6657b81e6274e1eac33c4c7379d3db2c463fb.tar.gz frost-66a6657b81e6274e1eac33c4c7379d3db2c463fb.tar.bz2 frost-66a6657b81e6274e1eac33c4c7379d3db2c463fb.zip |
Prevent crash with null frost cookie
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/fragments')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragmentBase.kt | 1 |
1 files changed, 1 insertions, 0 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 c03ac0e2..7a8309ff 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragmentBase.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/fragments/RecyclerFragmentBase.kt @@ -53,6 +53,7 @@ abstract class RecyclerFragment<T, Item : IItem<*, *>> : BaseFragment(), Recycle val data = try { reloadImpl(progress) } catch (e: Exception) { + L.e(e) { "Recycler reload fail" } null } if (!isActive) |