fix: add debug logging for successful refractor API responses

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-03-25 16:45:27 -05:00
parent 1c21f674c2
commit bf440e8301

View File

@ -203,6 +203,13 @@ class Refractor(commands.Cog):
total_count = (
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 progress == "close":
await interaction.edit_original_response(