Update stats.py

This commit is contained in:
Mikey Sklar 2025-06-04 11:56:01 -07:00
parent 5cd01c6116
commit 5eff1adaa8

View file

@ -101,7 +101,7 @@ while True:
DNSQUERIES = data["queries"]["total"]
ADSBLOCKED = data["queries"]["blocked"]
CLIENTS = data["clients"]["total"]
except (KeyError, requests.RequestException, json.JSONDecodeError):
except (KeyError, requests.RequestException):
DNSQUERIES = 0
ADSBLOCKED = 0
CLIENTS = 0