diff --git a/frigate/stats.py b/frigate/stats.py index 4bbd5d6df..7e910b6d4 100644 --- a/frigate/stats.py +++ b/frigate/stats.py @@ -20,9 +20,13 @@ logger = logging.getLogger(__name__) def get_latest_version() -> str: - request = requests.get( - "https://api.github.com/repos/blakeblackshear/frigate/releases/latest" - ) + try: + request = requests.get( + "https://api.github.com/repos/blakeblackshear/frigate/releases/latest" + ) + except: + return "unknown" + response = request.json() if request.ok and response and "tag_name" in response: