Flush temporary sessions automatically if failed to check sessions on startup

This commit is contained in:
JonnyWong16 2018-03-19 23:24:09 -07:00
parent e3b71a729e
commit a5807f21b4
2 changed files with 11 additions and 4 deletions

View file

@ -293,8 +293,8 @@ def connect_server(log=True, startup=False):
try:
web_socket.start_thread()
except:
logger.error(u"Websocket :: Unable to open connection.")
except Exception as e:
logger.error(u"Websocket :: Unable to open connection: %s." % e)
def check_server_access():