Commit e3a8688b authored by Florian Duguet's avatar Florian Duguet Committed by Romain Bignon

[societegenerale] return msg when raise BrowserUnavailable in AccountHistory page

parent efc0af51
......@@ -189,7 +189,7 @@ class AccountHistory(LoggedPage, BasePage):
def on_load(self):
msg = CleanText('//span[@class="error_msg"]', default='')(self.doc)
if 'Le service est momentanément indisponible' in msg:
raise BrowserUnavailable()
raise BrowserUnavailable(msg)
debit_date = None
def get_part_url(self):
......
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