Comment 2 for bug 1583844

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

Reviewed: https://review.openstack.org/319015
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a1c194cf060b2d563beb36261c7702950446756f
Submitter: Jenkins
Branch: master

commit a1c194cf060b2d563beb36261c7702950446756f
Author: Kevin Benton <email address hidden>
Date: Fri May 13 14:29:18 2016 -0700

    Make exception translation common and add to pecan

    This moves the exception translation logic from the
    legacy api.v2.resource module to a common module and
    re-uses it from pecan to bring consistency to the
    way language and exception translation is handled
    between the two.

    This also adjusts the policy enforcement hook to correctly
    handle the unsupported method case since 'after' hooks
    are executed after 'on_error' hooks that return an exception.

    Closes-Bug: #1583844
    Change-Id: If3c2d8c94ca6c1615f3b909accf0f718e320d1c2