first cleanup iter
CI - Security, Lint & Tests / validate (push) Failing after 25m59s

This commit is contained in:
cedrick2711
2026-09-09 08:26:47 -04:00
parent 101e3ae880
commit e53bc3b80d
35 changed files with 2138 additions and 2187 deletions
+2 -2
View File
@@ -550,7 +550,7 @@ def create_app(config=None):
# not down, and a 503 here would take the site out of the load
# balancer for it (OPS-012).
if app.config['ENABLE_DISCORD_BOT']:
from app.discord_bot import bot_status
from app.discord import bot_status
health_data['discord_bot'] = bot_status()
@@ -750,7 +750,7 @@ def create_app(config=None):
# Start the Discord bot for notifications
if app.config['ENABLE_DISCORD_BOT']:
try:
from app.discord_bot import start_bot
from app.discord import start_bot
start_bot(flask_app=app)
except Exception: # the site must come up even if the bot cannot