Commit 6a757e56 authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

[bp] Fix BrowserUnavailable being wrongfully raised

parent fec07df1
......@@ -648,7 +648,7 @@ class BProBrowser(BPBrowser):
if error:
if 'veuillez-vous rapprocher du mandataire principal de votre contrat' in error.lower():
raise ActionNeeded(error)
raise BrowserUnavailable(error or '')
raise BrowserUnavailable(error)
@need_login
def get_accounts_list(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