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/utils/Utils.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/utils/Utils.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt index 986f9565..eb346140 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt @@ -133,7 +133,7 @@ fun Context.scheduleNotifications(minutes: Long): Boolean { .setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY) //TODO add options val result = scheduler.schedule(builder.build()) if (result <= 0) { - L.e("Notification scheduler failed") + L.eThrow("Notification scheduler failed") return false } return true |