Merge lp:~canonical-isd-hackers/canonical-identity-provider/log-request into lp:canonical-identity-provider/release
Proposed by
David Owen
Status: | Merged |
---|---|
Approved by: | Simon Davy |
Approved revision: | no longer in the source branch. |
Merged at revision: | 245 |
Proposed branch: | lp:~canonical-isd-hackers/canonical-identity-provider/log-request |
Merge into: | lp:canonical-identity-provider/release |
Diff against target: |
273 lines (+111/-103) 3 files modified
identityprovider/middleware/exception.py (+3/-96) identityprovider/middleware/util.py (+101/-0) identityprovider/tests/test_middleware.py (+7/-7) |
To merge this branch: | bzr merge lp:~canonical-isd-hackers/canonical-identity-provider/log-request |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Canonical ISD hackers | Pending | ||
Review via email: mp+85969@code.launchpad.net |
Commit message
Extracted log_request and helpers from process_exception into new util module.
Description of the change
process_exception customized the behavior of ExceptionReporter by monkey-patching two method references. This patch instead overrides the customized method through inheritance, and no monkey-patching is needed.
Other than that, this simply moves code into the new util module and slightly renames some things.
To post a comment you must log in.
LGTM