Traceback (most recent call last):


 "/venv/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app

response = self.full_dispatch_request()


 "/venv/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/venv/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/venv/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/venv/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request

rv = self.dispatch_request()


 "/venv/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/srv/confidant/confidant/authnz/__init__.py", line 216, in decorated

user_mod.check_authorization()


 "/srv/confidant/confidant/authnz/userauth.py", line 208, in check_authorization

email = self.current_email()


 "/srv/confidant/confidant/authnz/userauth.py", line 123, in current_email

ret = self.current_user()['email'].lower()
AttributeError: 'NoneType' object has no attribute 'lower'

Traceback (most recent call last):


 "/usr/local/lib/python3.6/code.py", line 91, in runcode

exec(code, self.locals)


 "<console>", line 1, in <module>


 "/usr/local/lib/python3.6/site-packages/raven/base.py", line 824, in captureException

'raven.events.Exception', exc_info=exc_info, **kwargs)


 "/usr/local/lib/python3.6/site-packages/raven/contrib/django/client.py", line 303, in capture

result = super(DjangoClient, self).capture(event_type, **kwargs)


 "/usr/local/lib/python3.6/site-packages/raven/base.py", line 635, in capture

elif not self.should_capture(exc_info):


 "/usr/local/lib/python3.6/site-packages/raven/base.py", line 828, in should_capture

exc_name = '%s.%s' % (exc_type.__module__, exc_type.__name__)
AttributeError: 'NoneType' object has no attribute '__module__'
