mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 07:24:51 +00:00
Add a warning in case the connection failed
This commit is contained in:
parent
5d58ff2d94
commit
b249062d25
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ class Connection:
|
||||||
else:
|
else:
|
||||||
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