Skip to content

NVR with realtime local object detection for IP cameras

Show failure exception message (#11964)

Alex Yao0d862d6aa8ff
diff --git a/frigate/detectors/plugins/deepstack.py b/frigate/detectors/plugins/deepstack.py
index 311972393f..20d37fa8e9 100644
--- a/frigate/detectors/plugins/deepstack.py
+++ b/frigate/detectors/plugins/deepstack.py
@@ -57,8 +57,8 @@ class DeepStack(DetectionApi):
files={"image": image_bytes},
timeout=self.api_timeout,
)
- except requests.exceptions.RequestException:
- logger.error("Error calling deepstack API")
+ except requests.exceptions.RequestException as ex:
+ logger.error("Error calling deepstack API: %s", ex)
return np.zeros((20, 6), np.float32)
response_json = response.json()