Merge lp:~thomir-deactivatedaccount/adt-cloud-service/trunk-make-logging-500-more-verbose into lp:adt-cloud-service

Proposed by Thomi Richards
Status: Merged
Approved by: Thomi Richards
Approved revision: 18
Merged at revision: 18
Proposed branch: lp:~thomir-deactivatedaccount/adt-cloud-service/trunk-make-logging-500-more-verbose
Merge into: lp:adt-cloud-service
Diff against target: 9 lines (+1/-0)
1 file modified
adt_cloud_service/__init__.py (+1/-0)
To merge this branch: bzr merge lp:~thomir-deactivatedaccount/adt-cloud-service/trunk-make-logging-500-more-verbose
Reviewer Review Type Date Requested Status
Celso Providelo (community) Approve
Review via email: mp+253425@code.launchpad.net

Commit message

Prevent flask from swallowing errors, allowing gunicorn to log them.

Description of the change

Prevent flask from swallowing errors, allowing gunicorn to log them.

To post a comment you must log in.
Revision history for this message
Celso Providelo (cprov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'adt_cloud_service/__init__.py'
2--- adt_cloud_service/__init__.py 2015-03-16 20:56:36 +0000
3+++ adt_cloud_service/__init__.py 2015-03-18 19:41:50 +0000
4@@ -66,6 +66,7 @@
5 ['image_mapper']['url']
6 )
7 app.config['SWIFT_URL'] = config['swift']['public_url']
8+ app.config['PROPAGATE_EXCEPTIONS'] = True
9 return app
10
11

Subscribers

People subscribed via source and target branches

to all changes: