fix(pterodactyl): added another info logging statement
All checks were successful
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 18s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 22s

This commit is contained in:
Seaswimmer 2024-03-01 14:57:21 -05:00
parent b6819192b0
commit a0b1773185
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -50,6 +50,7 @@ class Pterodactyl(commands.Cog):
self.task.cancel() self.task.cancel()
if self.retry_counter < 5: if self.retry_counter < 5:
self.retry_counter += 1 self.retry_counter += 1
logger.info("Retrying in %s seconds...", 5 * self.retry_counter)
time.sleep(5 * self.retry_counter) time.sleep(5 * self.retry_counter)
self.task = self.get_task() self.task = self.get_task()
else: else: