From aef719c71a715a8cf9aee87041654bb9ca3bc267 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 24 Jan 2014 20:37:44 -0500 Subject: [PATCH] Add the status code and message to the mix panel reported error --- util/http.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/http.py b/util/http.py index 5e390cce2..e4e1aa89f 100644 --- a/util/http.py +++ b/util/http.py @@ -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()