From: Roland Häder Date: Sat, 31 May 2025 05:48:15 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4fc69acd690f57b4e5efff3022e6458a464eb578;p=fba.git Continued: - include block reason in debug message --- 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