forgot the error

This commit is contained in:
Stefan Midjich 2017-09-29 19:13:56 +02:00
parent 681b23f86a
commit 0356a57ba4
1 changed files with 6 additions and 5 deletions

View File

@ -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()