Commit 2900c921 authored by Maxime Gasselin's avatar Maxime Gasselin Committed by Romain Bignon

[creditmutuel] Delete the warning logger in case of IndexError

Indeed, in this case the history exists but not for the 6 months.
parent 436fe487
......@@ -312,8 +312,11 @@ class CreditMutuelBrowser(LoginBrowser, StatesMixin):
form.pop(k, None)
# IndexError when form xpath returns [], StopIteration if next called on empty iterable
except (IndexError, StopIteration, FormNotFound):
except (StopIteration, FormNotFound):
self.logger.warning('Could not get history on new website')
except IndexError:
# 6 months history is not available
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