Permalink
Browse files

raising an error as logging is failing with UTF

  • Loading branch information...
1 parent 542d4c3 commit 6d043c3a93994e53a72ed70a5ace8526abdedfbe @zalun committed May 9, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 apps/person/views.py
View
2 apps/person/views.py
@@ -134,6 +134,8 @@ def browserid_authenticate(request, assertion):
amouser = AMOAuthentication.auth_browserid_authenticate(email)
except ValueError, err:
# Some issue with connecting to AMO let's not raise an error
+ # XXX: There is an error in logging - let's raise it for now
+ raise
log.error("[browserID] Error from AMO (%s): %s" % (email, str(err)))
mail_admins( 'Problem with browserID authentication', str(err))
except Http404, err:

0 comments on commit 6d043c3

Please sign in to comment.