aboutsummaryrefslogtreecommitdiff
path: root/cashier/src/main
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2022-08-17 16:13:59 -0300
committerTorsten Grote <t@grobox.de>2022-08-17 16:13:59 -0300
commit48b609b653180b1145b2103097837e514e58364d (patch)
tree22ac124e983b21863446324318c4c8665723dc76 /cashier/src/main
parentd1163e31e904ac59d0739169257a8e3fdc7986a7 (diff)
downloadtaler-android-48b609b653180b1145b2103097837e514e58364d.tar.gz
taler-android-48b609b653180b1145b2103097837e514e58364d.tar.bz2
taler-android-48b609b653180b1145b2103097837e514e58364d.zip
[wallet] Scan QR codes in mixed mode
so we can scan inverted codes as well
Diffstat (limited to 'cashier/src/main')
-rw-r--r--cashier/src/main/java/net/taler/cashier/Response.kt2
1 files changed, 0 insertions, 2 deletions
diff --git a/cashier/src/main/java/net/taler/cashier/Response.kt b/cashier/src/main/java/net/taler/cashier/Response.kt
index 89b7b33..e9db447 100644
--- a/cashier/src/main/java/net/taler/cashier/Response.kt
+++ b/cashier/src/main/java/net/taler/cashier/Response.kt
@@ -19,7 +19,6 @@ package net.taler.cashier
import android.content.Context
import android.util.Log
import io.ktor.client.call.body
-import io.ktor.client.call.receive
import io.ktor.client.plugins.ResponseException
import io.ktor.http.HttpStatusCode
import kotlinx.serialization.Serializable
@@ -47,7 +46,6 @@ class Response<out T> private constructor(
private suspend fun getExceptionString(e: ResponseException): String {
val response = e.response
return try {
- Log.e("TEST", "TRY RECEIVE $response")
val error: Error = response.body()
"Error ${error.code}: ${error.hint}"
} catch (ex: Exception) {