(service_name: str)
| 2648 | wt = _wtmod.Watchtower(dirs=dirs, max_alerts=maxa, tail_only=True) |
| 2649 | try: |
| 2650 | with open(_wt_ring_path()) as f: |
| 2651 | wt.load(json.load(f)) |
| 2652 | except FileNotFoundError: |
| 2653 | pass |
| 2654 | except Exception as exc: |
| 2655 | logger.debug(f"[watchtower] ring load failed: {exc}") |
| 2656 | _watchtower = wt |
no test coverage detected