commit | aac78c95e55995087506b39109dcd0b193913971 | [log] [tgz] |
---|---|---|
author | LuK1337 <priv.luk@gmail.com> | Sat Sep 03 13:49:27 2022 +0200 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Sep 29 23:44:12 2022 +0200 |
tree | a5f5ddabb83f12e71737311987ffac45e2068341 | |
parent | e9bc58780e7687c627f211e9ddacbd13a8c1bfcc [diff] |
Aperture: Add spinner position to exception msg Change-Id: I871faae03281f5fd9e0eecfaf0df2dd0ac055f37
diff --git a/app/src/main/java/org/lineageos/aperture/QrImageAnalyzer.kt b/app/src/main/java/org/lineageos/aperture/QrImageAnalyzer.kt index 9c02537..89dde0c 100644 --- a/app/src/main/java/org/lineageos/aperture/QrImageAnalyzer.kt +++ b/app/src/main/java/org/lineageos/aperture/QrImageAnalyzer.kt
@@ -141,7 +141,7 @@ type = when (position) { 0 -> Type.BYTES 1 -> Type.TEXT - else -> throw Exception("Unknown type spinner position") + else -> throw Exception("Unknown type spinner position: $position") } } }