Comment 2 for bug 1158598

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/36678
Committed: http://github.com/openstack/heat/commit/c5ab33614b465be28d823072ab1fc897313ae6f3
Submitter: Jenkins
Branch: master

commit c5ab33614b465be28d823072ab1fc897313ae6f3
Author: Jianing YANG <email address hidden>
Date: Thu Jul 11 23:17:52 2013 +0800

    make heat-api return a parsable error

    add a wsgi middleware (faultwrap) that catches exceptions
    and transform those exceptions into a parsable format
    according to 'Content-Type' of the request.

    Fixes bug 1158598
    Implements blueprint exception-formatting

    Change-Id: Iacdb8cc119b250ff1e39c99b7a7f66fd4c35e7d9