|
@@ -30,6 +30,7 @@ class LocalProfileAssistantImpl(
|
|
|
override fun transmit(tx: ByteArray): ByteArray =
|
|
override fun transmit(tx: ByteArray): ByteArray =
|
|
|
try {
|
|
try {
|
|
|
apduInterface.transmit(tx).also {
|
|
apduInterface.transmit(tx).also {
|
|
|
|
|
+ lastApduException = null
|
|
|
lastApduResponse = it
|
|
lastApduResponse = it
|
|
|
}
|
|
}
|
|
|
} catch (e: Exception) {
|
|
} catch (e: Exception) {
|
|
@@ -61,6 +62,7 @@ class LocalProfileAssistantImpl(
|
|
|
override fun transmit(url: String, tx: ByteArray, headers: Array<String>): HttpResponse =
|
|
override fun transmit(url: String, tx: ByteArray, headers: Array<String>): HttpResponse =
|
|
|
try {
|
|
try {
|
|
|
httpInterface.transmit(url, tx, headers).also {
|
|
httpInterface.transmit(url, tx, headers).also {
|
|
|
|
|
+ lastHttpException = null
|
|
|
lastHttpResponse = it
|
|
lastHttpResponse = it
|
|
|
}
|
|
}
|
|
|
} catch (e: Exception) {
|
|
} catch (e: Exception) {
|