Compare commits

...

1 Commits

Author SHA1 Message Date
Cal Corum
bf440e8301 fix: add debug logging for successful refractor API responses
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 16:45:27 -05:00

View File

@ -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(