Add the status code and message to the mix panel reported error

This commit is contained in:
Joseph Schorr 2014-01-24 20:37:44 -05:00
parent b1ec9c4469
commit aef719c71a

View file

@ -21,6 +21,9 @@ def abort(status_code, message=None, **kwargs):
params = dict(request.view_args)
params.update(kwargs)
params['status_code'] = status_code
params['message'] = message
# Add the user information.
auth_user = get_authenticated_user()
auth_token = get_validated_token()