mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Raise any other unknown exception
This commit is contained in:
parent
862567a1ed
commit
552474a0e2
@ -159,6 +159,9 @@ class Session:
|
||||
log.info("Connection inited: Layer {}".format(layer))
|
||||
except (OSError, TimeoutError, Error):
|
||||
self.stop()
|
||||
except Exception as e:
|
||||
self.stop()
|
||||
raise e
|
||||
else:
|
||||
break
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user