Milimetric has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/371212 )

Change subject: Add more logging to validation errors
......................................................................

Add more logging to validation errors

Change-Id: Ia7d5ae6eee034e1f10059644ce189cd105de9c60
---
M wikimetrics/models/validate_cohort.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/wikimetrics 
refs/changes/12/371212/1

diff --git a/wikimetrics/models/validate_cohort.py 
b/wikimetrics/models/validate_cohort.py
index e124eef..bfc1a79 100644
--- a/wikimetrics/models/validate_cohort.py
+++ b/wikimetrics/models/validate_cohort.py
@@ -250,6 +250,7 @@
         # as it can be recovered, no need to reraise the error
         # but all users have to be marked as invalid
         msg = traceback.format_exc()
+        task_logger.warning('While validating users in ' + project)
         task_logger.warning(msg)
         matches = []
         valid_project = False

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7d5ae6eee034e1f10059644ce189cd105de9c60
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wikimetrics
Gerrit-Branch: master
Gerrit-Owner: Milimetric <dandree...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to