From 4fc69acd690f57b4e5efff3022e6458a464eb578 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 31 May 2025 07:48:15 +0200 Subject: [PATCH] Continued: - include block reason in debug message --- fba/helpers/blacklist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fba/helpers/blacklist.py b/fba/helpers/blacklist.py index 69c9e85..d59eeb9 100644 --- a/fba/helpers/blacklist.py +++ b/fba/helpers/blacklist.py @@ -97,7 +97,7 @@ def is_blacklisted(domain: str) -> bool: for blocked in _blacklist: logger.debug("Checking blocked='%s' ...", blocked) if blocked in domain: - logger.debug("domain='%s' is blacklisted.", domain) + logger.debug("domain='%s' is blacklisted with reason '%s'.", domain, _blacklist[blocked]) blacklisted = True break -- 2.39.5