Skip to content
  • Quentin Defenouillere's avatar
    [cragr] Retry request when main account balance is unavailable · 0d5e1a62
    Quentin Defenouillere authored and Romain Bignon's avatar Romain Bignon committed
    This commit fixes several bugs in iter_accounts, linked to untyped
    accounts and unavailable main account balances.
    I factorized the try/except when trying to go the an accounts space.
    I also added a try.except on the "cards" requests because it often
    returns a 400 error that crashes the whole connection.
    The count_spaces xpath was corrected to fit specific professional spaces
    too.
    
    Closes: 35460@sibi
    0d5e1a62