diff options
Diffstat (limited to 'src/account/views.py')
-rw-r--r-- | src/account/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account/views.py b/src/account/views.py index 1cb2275..d11a199 100644 --- a/src/account/views.py +++ b/src/account/views.py @@ -130,7 +130,7 @@ class JiraAuthenticatedView(RedirectView): email = "" try: email = jira.user(username).emailAddress - except: + except AttributeError: email = "" url = '/' # Step 3. Lookup the user or create them if they don't exist. |