From 0d862d6aa8ff11cc86904ec051fd4449597608c3 Mon Sep 17 00:00:00 2001 From: Alex Yao <33379584+alexyao2015@users.noreply.github.com> Date: Fri, 14 Jun 2024 20:34:14 -0500 Subject: [PATCH] Show failure exception message (#11964) --- frigate/detectors/plugins/deepstack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/detectors/plugins/deepstack.py b/frigate/detectors/plugins/deepstack.py index 311972393..20d37fa8e 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()