log exception of redis pubsub subscription

This commit is contained in:
Thorbjörn Jörger
2023-03-21 11:12:07 +01:00
parent f6d135fbad
commit 5bc3d93545

View File

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