mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +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
|
||||
else:
|
||||
log.warning("Connection failed! Trying again...")
|
||||
raise TimeoutError
|
||||
|
||||
def close(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue