Typo fix
This commit is contained in:
parent
c18212f477
commit
b1ec9c4469
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ def abort(status_code, message=None, **kwargs):
|
|||
mixpanel.track(auth_user.username, 'http_error', params)
|
||||
message = '%s (user: %s)' % (message, auth_user.username)
|
||||
elif auth_token:
|
||||
mixpanel.track(auth_token.core, 'http_error', params)
|
||||
mixpanel.track(auth_token.code, 'http_error', params)
|
||||
message = '%s (token: %s)' % (message,
|
||||
auth_token.friendly_name or auth_token.code)
|
||||
|
||||
|
|
Reference in a new issue