There was an error while loading. Please reload this page.
1 parent 5e157c2 commit b6817bcCopy full SHA for b6817bc
1 file changed
pyrogram/session/auth.py
@@ -242,8 +242,8 @@ def create(self):
242
set_client_dh_params_answer.__class__.__name__
243
)
244
245
- except: # TODO: Too broad exception clause
246
- log.warning("Auth key creation failed. Let's try again.")
+ except Exception as e: # TODO: Too broad exception clause
+ log.warning("Auth key creation failed. Let's try again: {}".format(repr(e)))
247
continue
248
else:
249
return auth_key
0 commit comments