This commit is contained in:
Davte 2020-04-19 19:54:52 +02:00
parent bd8eb7da4c
commit f52429fc4d

View File

@ -173,6 +173,7 @@ class Server:
else:
return 0 # On success, return 0
# On exception, disconnect and return 1
logging.error("Disconnecting...")
self.disconnect(connection_token=connection_token)
return 1