block/bridge: add debug printing

This commit is contained in:
Iain Learmonth 2022-07-12 11:14:17 +01:00
parent ca3fc844b7
commit 3ed6f0908a

View file

@ -46,8 +46,11 @@ class BlockBridgeAutomation(BaseAutomation):
logging.debug("Parse complete")
rotated = []
rotated.extend(self.perform_deprecations(self.ips, get_bridge_by_ip))
logging.debug("Blocked by IP")
rotated.extend(self.perform_deprecations(self.fingerprints, get_bridge_by_fingerprint))
logging.debug("Blocked by fingerprint")
rotated.extend(self.perform_deprecations(self.fingerprints, get_bridge_by_hashed_fingerprint))
logging.debug("Blocked by hashed fingerprint")
if rotated:
activity = Activity(
activity_type="block",