diff --git a/wanda/as_filter/as_filter.py b/wanda/as_filter/as_filter.py index 09a9f68..62d052f 100644 --- a/wanda/as_filter/as_filter.py +++ b/wanda/as_filter/as_filter.py @@ -30,9 +30,8 @@ def prefix_lists(self): v6_set.update(result_entries_v6_cleaned) if len(v4_set) == 0 and len(v6_set) == 0 and self.is_customer: - l.error(f"{self.autos} has no v4 filter lists.") raise Exception( - f"{self.autos} has no v6 filter lists. Since AS is our customer, we forbid this for security reasons.") + f"{self.autos} has neither IPv4, nor IPv6 filter lists. Since AS is our customer, we forbid this for security reasons.") return v4_set, v6_set