wyby sync: log PIN collisions as WARNING (journal error filter)

This commit is contained in:
2026-11-12 15:29:57 +01:00
parent 841e2e53d4
commit 96d1364b54
2 changed files with 18 additions and 1 deletions
+2 -1
View File
@@ -290,7 +290,8 @@ def main() -> None:
sync.plan_booking(b, group_id, today)
for s in sync.skipped:
logger.info("SKIP %s", s)
# PIN collisions need manual attention -> surface in the error filter
(logger.warning if "resolve manually" in s else logger.info)("SKIP %s", s)
if not sync.planned:
logger.info("No changes needed (%d bookings checked).", len(bookings))
return