aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/facebook
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/facebook
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/facebook')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/facebook/UsernameFetcher.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/UsernameFetcher.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/UsernameFetcher.kt
index 5bc58fa9..cbb6222a 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/UsernameFetcher.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/UsernameFetcher.kt
@@ -21,7 +21,7 @@ object UsernameFetcher {
.get().title()
L.d("User name found: $name")
} catch (e: Exception) {
- L.e("User name fetching failed: ${e.message}")
+ L.e(e, "User name fetching failed")
} finally {
data.name = name
saveFbCookie(data)