Commit b9bb89ce authored by Joel Collins's avatar Joel Collins
Browse files

Fixed HTTP exceptions not returning with correct HTTP status code

parent 3bf3b0f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ class JSONExceptionHandler(object):
            'status_code': status_code,
            'message': message
        }
        return jsonify(response)
        return jsonify(response), status_code

    def init_app(self, app):
        self.app = app