log exception of redis pubsub subscription
This commit is contained in:
parent
f6d135fbad
commit
5bc3d93545
@ -332,7 +332,7 @@ def watch():
|
||||
logWarn('%s matched rule id %s (%s)' % (addr, rule_id, item['data']))
|
||||
ban(addr)
|
||||
except Exception as ex:
|
||||
logWarn('Error reading log line from pubsub')
|
||||
logWarn('Error reading log line from pubsub: %s' % ex)
|
||||
quit_now = True
|
||||
exit_code = 2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user