getsentry/raven-python — pull request #191 by mattss (2012-10-11 10:25:05+00:00)
Title: Zope's authenticated user variable is not always available

During a NotFound error, the AUTHENTICATED_USER variable is not available. Currently, raven assumes that it is, resulting in an AttributeError. This change fills in some helpful default user values so that the other request information is not lost.