diff --git a/frigate/plus.py b/frigate/plus.py index 197b6e48d..86df71a9b 100644 --- a/frigate/plus.py +++ b/frigate/plus.py @@ -105,9 +105,10 @@ class PlusApi: def upload_image(self, image: ndarray, camera: str) -> str: r = self._get("image/signed_urls") - presigned_urls = r.json() + if not r.ok: raise Exception("Unable to get signed urls") + presigned_urls = r.json() # resize and submit original files = {"file": get_jpg_bytes(image, 1920, 85)}