mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Raise any other unknown exception
This commit is contained in:
parent
862567a1ed
commit
552474a0e2
1 changed files with 3 additions and 0 deletions
|
|
@ -159,6 +159,9 @@ class Session:
|
||||||
log.info("Connection inited: Layer {}".format(layer))
|
log.info("Connection inited: Layer {}".format(layer))
|
||||||
except (OSError, TimeoutError, Error):
|
except (OSError, TimeoutError, Error):
|
||||||
self.stop()
|
self.stop()
|
||||||
|
except Exception as e:
|
||||||
|
self.stop()
|
||||||
|
raise e
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue