Ottomata has submitted this change and it was merged.

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(-)

Approvals:
  Ottomata: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I3e87bd08ec3aa581b4e70d6cd57e61b39c860ce3
Gerrit-PatchSet: 1
Gerrit-Project: eventlogging
Gerrit-Branch: master
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Nuria <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to