···5555 if e.response.status_code == 500:
5656 return await get_all_follows(client, rate_limit, account_did)
5757 raise e
5858+ # If we timeout just try again
5959+ except at_exceptions.InvokeTimeoutError:
6060+ return await get_all_follows(client, rate_limit, account_did)
58615962 for follow in data.records:
6063 follows.append(follow)
···7376 )
7477 for follow in data.records:
7578 follows.append(follow)
7979+ # If we timeout just try again
8080+ except at_exceptions.InvokeTimeoutError:
8181+ continue
7682 except at_exceptions.RequestException as e:
7783 if e.response.status_code == 500:
7884 continue