Merge pull request #6 from Noviat/11.0-fix-except_UserError

fix except UserError
This commit is contained in:
Luc De Meyer 2019-10-16 22:21:50 +02:00 committed by GitHub
commit 5f863f191c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,7 +198,7 @@ class EbicsXfer(models.TransientModel):
self.note += '\n' self.note += '\n'
self.note += _("Warning:") self.note += _("Warning:")
self.note += '\n' self.note += '\n'
self.note += e.message self.note += e.name
except Exception: except Exception:
self.note += '\n' self.note += '\n'
self.note += _("Unknown Error") self.note += _("Unknown Error")