Commit 221ab27d authored by Célande Adrien's avatar Célande Adrien Committed by hydrargyrum

[boursorama] send message for TransferBankError

By default not indicating message make of the string a description
which is not what we want.
We want the message to be send to the client, not stocked in db.

Closes: [email protected]
parent db750990
......@@ -504,7 +504,7 @@ class BoursoramaBrowser(RetryLoginBrowser, StatesMixin):
assert self.transfer_sent.is_here()
transfer_error = self.page.get_transfer_error()
if transfer_error:
raise TransferBankError(transfer_error)
raise TransferBankError(message=transfer_error)
# the last page contains no info, return the last transfer object from init_transfer
return transfer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment