aboutsummaryrefslogtreecommitdiffstats
path: root/src/account/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/account/tasks.py')
-rw-r--r--src/account/tasks.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/account/tasks.py b/src/account/tasks.py
index fe51974..53fbaf5 100644
--- a/src/account/tasks.py
+++ b/src/account/tasks.py
@@ -26,7 +26,10 @@ def sync_jira_accounts():
except JIRAError:
# User can be anonymous (local django admin account)
continue
- user.email = user_dict['emailAddress']
+ try:
+ user.email = user_dict['emailAddress']
+ except:
+ pass
user.userprofile.url = user_dict['self']
user.userprofile.full_name = user_dict['displayName']