commit | 080a48ed0ad8f3b440fd66e2c9be64161eac22cc | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Feb 21 22:34:43 2017 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Feb 21 22:34:43 2017 -0500 |
tree | 441c80482f4b5cdeb125ec9e8c75e454ce2d3647 | |
parent | fce7756c4af482aa27ed77c5ef4b93d7d687d1f7 [diff] |
Add support for error response plugins The Bottle plugin framework only applies to normal responses. Build on that by monkey-patching the Bottle error handler with a new one that makes a series of callbacks. Update the existing plugins such that where appropriate they can apply their logic to error responses in addition to normal responses as they already do. Change-Id: Ifc2bac0e5120a3b0475f3b78f8bd822711f9c736 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>