More documentation needed on exceptions in middlewares
|Reported by:||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.