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

@@ -39,7 +39,7 @@ def _handle_async_exception(_loop, context):
else:
text = f"{msg}"
try:
log_incident(cfg, text)
log_incident(cfg, text, category="system")
except Exception:
pass
logging.getLogger("asyncio").error(text)