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,7 +76,9 @@ open class BankResponse(
protected open fun mapToMessageToShowToUser(feedback: Feedback): String? { protected open fun mapToMessageToShowToUser(feedback: Feedback): String? {
if (feedback.isError) { if (feedback.isError) {
return "${feedback.responseCode}: ${feedback.message}" if (feedback.responseCode != 9800) { // filter out 'Dialogabbruch' feedbacks, is of no value to user
return "${feedback.responseCode}: ${feedback.message}"
}
} }
return null return null