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':}})

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 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':}})
however it wont register this as a user.