fix: Enable debug logging in send_discord_message for better memory tracking

This commit is contained in:
2025-11-15 10:03:15 -05:00
parent 79445bf879
commit 5a8d14eb4d
2 changed files with 45 additions and 58 deletions

View File

@@ -411,7 +411,7 @@ while True:
mem_ok = getattr(_gc, 'mem_free', lambda: 0)() > 90000
if mem_ok:
try:
ok = discord_webhook.send_discord_message(pending_discord_message)
ok = discord_webhook.send_discord_message(pending_discord_message, debug=True)
if ok:
print("Discord startup notification sent")
discord_sent = True