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
No known key found for this signature in database
GPG Key ID: 82701519391A1DCD

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