mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
forgot the error
This commit is contained in:
parent
681b23f86a
commit
0356a57ba4
1 changed files with 6 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue