Python logging with user context from .error()

Hi All,

I’ve been able to deploy tags from the python logging handler with raven.
log.error("my error", extra={'tags': {'phone_number': self.phone}})

however if I follow what little documentation I could find and attempt to log the phone number as a username, it just gets added as extra.data rather than as the user context.

from my reading this should work to register a bug to a user.
log.error("my error", extra={'data': {'username': self.phone}})
however it wont register this as a user.