diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-29 23:43:36 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-29 23:43:36 -0700 |
commit | a42519030892ede729fc37ce6cbc93bb1d80989c (patch) | |
tree | f2898b8825ea346bdf0fb8605b355237ce3da669 /app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt | |
parent | 213a6b8a9213240801a84cfcfb9925d4709cdbe4 (diff) | |
download | frost-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.kt | 2 |
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 { |