aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-01-11 21:38:33 -0800
committerAllan Wang <me@allanwang.ca>2021-01-11 21:38:33 -0800
commitf30e67588c49c8e7ed9af124337f67d54a372bb9 (patch)
tree8257413d8daf234f133ec28b1a5b615a049b7638 /app/src
parent520b1b98f589a890b26b067fa281b82440a7e040 (diff)
downloadfrost-f30e67588c49c8e7ed9af124337f67d54a372bb9.tar.gz
frost-f30e67588c49c8e7ed9af124337f67d54a372bb9.tar.bz2
frost-f30e67588c49c8e7ed9af124337f67d54a372bb9.zip
Show error classname if message does not exist
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt
index 621f89e9..06626752 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt
@@ -362,7 +362,7 @@ internal enum class FabStates(
?: return
activity.materialDialog {
title(R.string.kau_error)
- message(text = err.message)
+ message(text = err.message ?: err.javaClass.name)
}
}
},