From 4279342cd31a3918f569e545c067ac79366a0eec Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 3 Jul 2023 11:44:48 -0500 Subject: [PATCH] Error message when onvif init fails --- frigate/ptz_autotrack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/ptz_autotrack.py b/frigate/ptz_autotrack.py index 81af28e34..31e945d5e 100644 --- a/frigate/ptz_autotrack.py +++ b/frigate/ptz_autotrack.py @@ -145,6 +145,7 @@ class PtzAutoTracker: if not self.onvif.cams[camera_name]["init"]: if not self.onvif._init_onvif(camera_name): + logger.warning(f"Unable to initialize onvif for {camera_name}") return if not self.onvif.cams[camera_name]["relative_fov_supported"]: cam.onvif.autotracking.enabled = False