More documentation needed on exceptions in middlewares
|Reported by:||pakal <chambon.pascal@…>||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have not found any documentation on the behaviour of django when an exception is raised, not from a view, but from a middleware method.
Eg. if a process_exception() raises an unexpected exception, how will django deal with that ? And if a process_response() fails when treating a normal http response ?
I can have some information by testing these tests, but as long as it's undocumented I can't really rely on it.
Change History (6)
comment:1 Changed 6 years ago by pakal <chambon.pascal@…>
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 6 years ago by gabrielhurley
- Triage Stage changed from Unreviewed to Design decision needed