diff --git a/section4/app.py b/section4/app.py index 22bcdfa1..69ed7ed1 100644 --- a/section4/app.py +++ b/section4/app.py @@ -5,6 +5,7 @@ from security import authenticate, identity app = Flask(__name__) +app.config['PROPAGATE_EXCEPTIONS'] = True # To allow flask propagating exception even if debug is set to false on app app.secret_key = 'jose' api = Api(app)