From 7b83513d6304032ed1618ebe25a07708423f8174 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 28 Feb 2024 11:59:49 -0500 Subject: [PATCH] cleanup(pterodactyl): removed debug loggers --- pterodactyl/pterodactyl.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index 6d16076..6071972 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -31,18 +31,14 @@ class Pterodactyl(commands.Cog): base_url = await self.config.base_url() api_key = await self.config.api_key() server_id = await self.config.server_id() - self.logger.debug("debug 1") extra_headers = { "Origin": base_url } - self.logger.debug("debug 2") try: client = PterodactylClient(base_url, api_key, debug=True).client - self.logger.debug("debug 3") websocket_credentials = client.servers.get_websocket(server_id) - self.logger.debug("debug 4") self.logger.debug("Websocket connection details retrieved:\nSocket: %s\nToken: %s", websocket_credentials['data']['socket'], websocket_credentials['data']['token']) except exceptions.ClientConfigError as e: self.logger.error('Failed to initialize Pterodactyl client: %s', e)