mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Add an extra warning in case connection fails
This commit is contained in:
parent
8b364202c3
commit
84492fb942
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ class Connection:
|
||||||
))
|
))
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
log.warning("Connection failed! Trying again...")
|
||||||
raise TimeoutError
|
raise TimeoutError
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue