forked from blizzthewolf/SeaCogs
fix(pterodactyl): removed leftover debug statement
This commit is contained in:
parent
d01985eea6
commit
13dba790b7
1 changed files with 0 additions and 1 deletions
|
@ -34,7 +34,6 @@ async def establish_websocket_connection(coginstance: Pterodactyl) -> None:
|
||||||
|
|
||||||
while True: # pylint: disable=too-many-nested-blocks
|
while True: # pylint: disable=too-many-nested-blocks
|
||||||
message = json.loads(await websocket.recv())
|
message = json.loads(await websocket.recv())
|
||||||
logger.debug("Received message from WebSocket:\n%s", json.dumps(message))
|
|
||||||
if message['event'] in ('token expiring', 'token expired'):
|
if message['event'] in ('token expiring', 'token expired'):
|
||||||
logger.info("Received token expiring/expired event. Refreshing token.")
|
logger.info("Received token expiring/expired event. Refreshing token.")
|
||||||
websocket_credentials = await retrieve_websocket_credentials(coginstance)
|
websocket_credentials = await retrieve_websocket_credentials(coginstance)
|
||||||
|
|
Loading…
Reference in a new issue