fix(pterodactyl): adding some debugging code
This commit is contained in:
parent
b18b99075e
commit
6f4f13e623
2 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,8 @@ async def establish_websocket_connection(coginstance: Pterodactyl) -> None:
|
|||
|
||||
websocket_credentials = await retrieve_websocket_credentials(coginstance)
|
||||
|
||||
logger.info("WebSocket connection details retrieved\n%s\n%s", json.dumps(websocket_credentials), base_url)
|
||||
|
||||
async with websockets.connect(websocket_credentials['data']['socket'], origin=base_url, ping_timeout=60) as websocket:
|
||||
logger.info("WebSocket connection established")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue