aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-29 23:43:36 -0700
committerAllan Wang <me@allanwang.ca>2017-06-29 23:43:36 -0700
commita42519030892ede729fc37ce6cbc93bb1d80989c (patch)
treef2898b8825ea346bdf0fb8605b355237ce3da669 /app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt
parent213a6b8a9213240801a84cfcfb9925d4709cdbe4 (diff)
downloadfrost-a42519030892ede729fc37ce6cbc93bb1d80989c.tar.gz
frost-a42519030892ede729fc37ce6cbc93bb1d80989c.tar.bz2
frost-a42519030892ede729fc37ce6cbc93bb1d80989c.zip
Add log throws
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt
index fdb918cc..cd6c2255 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt
@@ -86,7 +86,7 @@ class LoginActivity : BaseActivity() {
.observeOn(AndroidSchedulers.mainThread()).subscribe {
(foundImage, name) ->
refresh = false
- if (!foundImage) L.e("Could not get profile photo; Invalid userId?\n\t$cookie")
+ if (!foundImage) L.eThrow("Could not get profile photo; Invalid userId?\n\t$cookie")
textview.text = String.format(getString(R.string.welcome), name)
textview.fadeIn()
frostAnswers {