Tag incidents with categories for summaries
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user