summaryrefslogtreecommitdiff
diff options
authorDaniel Manrique <roadmr@ubuntu.com>2020-04-21 21:46:42 +0000
committerDaniel Manrique <roadmr@ubuntu.com>2020-04-21 21:46:42 +0000
commitc00efc27906e2ec39b46c4921782d2715b586477 (patch)
tree0069c1f85186ed7d96b5e2dc592a0620670027b8
parentb1facbbce764acd172b48d0ce7e858194f17a0a2 (diff)
Some debugging to track down issue
-rw-r--r--revtracker/tasks.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/revtracker/tasks.py b/revtracker/tasks.py
index f28f0ac..8df2523 100644
--- a/revtracker/tasks.py
+++ b/revtracker/tasks.py
@@ -449,7 +449,11 @@ def get_assignee(branch, revision, lp, email_map):
if "." not in email:
assignee = None
else:
- assignee = lp.people.getByEmail(email=email)
+ try:
+ assignee = lp.people.getByEmail(email=email)
+ except Exception as err:
+ print("Error %r for %s" % (err, email))
+
email_map[email] = assignee
if assignee is None:
return None