From d1c0ed2e1443f72d9b15e041990c96215db578b1 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 2 Feb 2024 02:00:54 -0500 Subject: [PATCH] misc(bible): removing some annoying debugging code --- bible/bible.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/bible/bible.py b/bible/bible.py index 8266e8d..333d7f3 100644 --- a/bible/bible.py +++ b/bible/bible.py @@ -71,9 +71,8 @@ class Bible(commands.Cog): async with self.session.get(url, headers=headers, params=params) as response: data = await response.json() self.logger.debug( - "_get_passage executed with a response code of: %s\n%s", + "_get_passage executed with a response code of: %s", response.status, - json.dumps(data), ) if response.status == 401: raise bible.errors.Unauthorized() @@ -110,9 +109,8 @@ class Bible(commands.Cog): async with self.session.get(url, headers=headers) as response: data = await response.json() self.logger.debug( - "_get_books executed with a response code of: %s\n%s", + "_get_books executed with a response code of: %s", response.status, - json.dumps(data), ) if response.status == 401: raise bible.errors.Unauthorized() @@ -130,9 +128,8 @@ class Bible(commands.Cog): async with self.session.get(url, headers=headers) as response: data = await response.json() self.logger.debug( - "_get_chapters executed with a response code of: %s\n%s", + "_get_chapters executed with a response code of: %s", response.status, - json.dumps(data), ) if response.status == 401: raise bible.errors.Unauthorized() @@ -150,9 +147,8 @@ class Bible(commands.Cog): async with self.session.get(url, headers=headers) as response: data = await response.json() self.logger.debug( - "_get_verses executed with a response code of: %s\n%s", + "_get_verses executed with a response code of: %s", response.status, - json.dumps(data), ) if response.status == 401: raise bible.errors.Unauthorized()