Filtering out 'Dialogabbruch' feedbacks
This commit is contained in:
parent
e4aa38e11f
commit
69375602e3
|
@ -76,8 +76,10 @@ open class BankResponse(
|
||||||
|
|
||||||
protected open fun mapToMessageToShowToUser(feedback: Feedback): String? {
|
protected open fun mapToMessageToShowToUser(feedback: Feedback): String? {
|
||||||
if (feedback.isError) {
|
if (feedback.isError) {
|
||||||
|
if (feedback.responseCode != 9800) { // filter out 'Dialogabbruch' feedbacks, is of no value to user
|
||||||
return "${feedback.responseCode}: ${feedback.message}"
|
return "${feedback.responseCode}: ${feedback.message}"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue