commit 58f3a600862b51b19c3b789790157b07fff67e49
Author: Elena Ezhova <email address hidden>
Date: Wed Jun 1 16:51:03 2016 +0300
Make registering error handlers compliant with Flask 0.11
With Flask 0.11 setting error handlers by directly modifying
app.error_handler_spec dictionary leads to AttributeErrors.
It should be done by using register_error_handler method or
errorhandler decorator.
Reviewed: https:/ /review. openstack. org/324039 /git.openstack. org/cgit/ openstack/ designate/ commit/ ?id=58f3a600862 b51b19c3b789790 157b07fff67e49
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 58f3a600862b51b 19c3b789790157b 07fff67e49
Author: Elena Ezhova <email address hidden>
Date: Wed Jun 1 16:51:03 2016 +0300
Make registering error handlers compliant with Flask 0.11
With Flask 0.11 setting error handlers by directly modifying error_handler_ spec dictionary leads to AttributeErrors. error_handler method or
app.
It should be done by using register_
errorhandler decorator.
Change-Id: I4c6cb80a6311c0 81a30130ba51b8e 5d7a88331b2
Closes-Bug: #1587849