Add the status code and message to the mix panel reported error
This commit is contained in:
parent
b1ec9c4469
commit
aef719c71a
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue