fix: Enable debug logging in send_discord_message for better memory tracking
This commit is contained in:
2
main.py
2
main.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user