Browse Source

log exception of redis pubsub subscription

Thorbjörn Jörger 2 years ago
parent
commit
5bc3d93545
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/Dockerfiles/netfilter/server.py

+ 1 - 1
data/Dockerfiles/netfilter/server.py

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