From 0356a57ba42b114e1bad490b6c558cb326869050 Mon Sep 17 00:00:00 2001 From: Stefan Midjich Date: Fri, 29 Sep 2017 19:13:56 +0200 Subject: [PATCH] forgot the error --- tools/client.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tools/client.py b/tools/client.py index 3bff524..1028b02 100644 --- a/tools/client.py +++ b/tools/client.py @@ -73,11 +73,12 @@ class Client(object): except Exception as e: # TODO: This should raise an exception and be handled further up # the stack by logging the error. - raise IPTCRuleNotFound( - 'Could not find the iptables rule for {client_ip}'.format( - client_ip=self.ip_address - ) - ) + raise + #raise IPTCRuleNotFound( + # 'Could not find the iptables rule for {client_ip}'.format( + # client_ip=self.ip_address + # ) + #) if rule: (packet_count, byte_count) = rule.get_counters()