Ottomata has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/257652

Change subject: Fix bug where blacklisted event log message caused uncaught 
exception
......................................................................

Fix bug where blacklisted event log message caused uncaught exception

Change-Id: I3e87bd08ec3aa581b4e70d6cd57e61b39c860ce3
---
M eventlogging/handlers.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/eventlogging 
refs/changes/52/257652/1

diff --git a/eventlogging/handlers.py b/eventlogging/handlers.py
index f7296c0..a7c8993 100644
--- a/eventlogging/handlers.py
+++ b/eventlogging/handlers.py
@@ -188,7 +188,7 @@
                 if blacklist_pattern.match(schema_name):
                     logging.debug(
                         '%s is blacklisted, not writing event %s.' %
-                        schema_name
+                        (schema_name, event)
                     )
                     continue
 

-- 
To view, visit https://gerrit.wikimedia.org/r/257652
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3e87bd08ec3aa581b4e70d6cd57e61b39c860ce3
Gerrit-PatchSet: 1
Gerrit-Project: eventlogging
Gerrit-Branch: master
Gerrit-Owner: Ottomata <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to