Tag incidents with categories for summaries

This commit is contained in:
2026-02-09 02:03:04 +03:00
parent 75113b6182
commit c91c961134
6 changed files with 11 additions and 9 deletions

View File

@@ -367,7 +367,7 @@ async def schedule_backup(msg: Message):
await msg.answer(f"🕓 Backup queued (#{pos})", reply_markup=backup_kb)
try:
from services.incidents import log_incident
log_incident(cfg, f"backup_queued by {msg.from_user.id}")
log_incident(cfg, f"backup_queued by {msg.from_user.id}", category="backup")
except Exception:
pass