mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 23:05:15 +00:00
Raise any other unknown exception
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user