wyby sync: log PIN collisions as WARNING (journal error filter)
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user