1 Commits

Author SHA1 Message Date
justuser-31 bcc61603a7 Revert "Remove except block and put replace ping"
This reverts commit bd540ff8b7
2023-01-25 14:32:21 +00:00
+6 -2
View File
@@ -39,6 +39,10 @@ while True:
ttime = 0
except Exception as e:
ping = PINGClient('play.dmcraft.online')
print(e)
if e == '[Errno 32] Broken pipe':
sleep(60)
ttime = 59
print("CATCHED")
else:
print(e)