Skip to content

Commit c14a2ef

Browse files
committed
Add propagate exceptions.
1 parent ee1aae7 commit c14a2ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

section11/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
app = Flask(__name__)
1111
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///data.db'
1212
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
13+
app.config['PROPAGATE_EXCEPTIONS'] = True
1314
api = Api(app)
1415

1516
"""

0 commit comments

Comments
 (0)