Filtering out 'Dialogabbruch' feedbacks

This commit is contained in:
dankito 2020-09-30 02:25:19 +02:00
parent e4aa38e11f
commit 69375602e3
1 changed files with 3 additions and 1 deletions

View File

@ -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
} }