handle BaseExceptions with middleware, or at least KeyboardInterrupt
|Reported by:||Suor||Owned by:||Suor|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
I was trying to write a middleware which shows a 503 page on KeyboardInterrupt (which happens on django restart) and run into this.
If it is not handled some unlucky users get 500 error page and search bots go away for a while.
Change History (5)
Changed 5 years ago by Suor
comment:1 Changed 5 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement set
- Triage Stage changed from Unreviewed to Accepted