Merge pull request 'fix: add debug logging for successful refractor API responses' (#124) from fix/refractor-debug-logging into main
All checks were successful
Build Docker Image / build (push) Successful in 2m47s
All checks were successful
Build Docker Image / build (push) Successful in 2m47s
This commit is contained in:
commit
27ce8b3617
@ -203,6 +203,13 @@ class Refractor(commands.Cog):
|
|||||||
total_count = (
|
total_count = (
|
||||||
data.get("count", len(items)) if isinstance(data, dict) else len(items)
|
data.get("count", len(items)) if isinstance(data, dict) else len(items)
|
||||||
)
|
)
|
||||||
|
logger.debug(
|
||||||
|
"Refractor status for team %s: %d items returned, %d total (page %d)",
|
||||||
|
team["id"],
|
||||||
|
len(items),
|
||||||
|
total_count,
|
||||||
|
page,
|
||||||
|
)
|
||||||
if not items:
|
if not items:
|
||||||
if progress == "close":
|
if progress == "close":
|
||||||
await interaction.edit_original_response(
|
await interaction.edit_original_response(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user