This commit is contained in:
Mikey Sklar 2025-06-04 11:37:46 -07:00
parent e5c40eb8ce
commit 5cd01c6116

View file

@ -31,7 +31,6 @@
# not support PIL/pillow (python imaging library)!
import json
import subprocess
import time
@ -102,7 +101,7 @@ while True:
DNSQUERIES = data["queries"]["total"]
ADSBLOCKED = data["queries"]["blocked"]
CLIENTS = data["clients"]["total"]
except Exception:
except (KeyError, requests.RequestException, json.JSONDecodeError):
DNSQUERIES = 0
ADSBLOCKED = 0
CLIENTS = 0