diff --git a/pyrogram/session/auth.py b/pyrogram/session/auth.py index 35dc8c37..f40b43e9 100644 --- a/pyrogram/session/auth.py +++ b/pyrogram/session/auth.py @@ -244,6 +244,7 @@ class Auth: ) except Exception as e: # TODO: Too broad exception clause log.warning("Auth key creation failed. Let's try again: {}".format(repr(e))) + time.sleep(1) continue else: return auth_key