Don’t have a headers var anymore
This commit is contained in:
parent
fd4ac04b5a
commit
229eeec1be
1 changed files with 1 additions and 1 deletions
|
@ -28,5 +28,5 @@ def abort(status_code, message=None, **kwargs):
|
|||
logger.error('Error %s: %s. Arguments: %s' % (status_code, message, request.view_args))
|
||||
|
||||
# Report the abort to the user.
|
||||
flask_abort(make_response(HTTPException(message), status_code, headers))
|
||||
flask_abort(make_response(HTTPException(message), status_code, {}))
|
||||
|
||||
|
|
Reference in a new issue