aurweb/web
Kevin Morris d675c0dc26
feat(python): catch all exceptions thrown through fastapi route paths
This commit does quite a bit:
- Catches unhandled exceptions raised in the route handler and
  produces a 500 Internal Server Error Arch-themed response.
- Each unhandled exception causes a notification to be sent to new
  `notifications.postmaster` email with a "Traceback ID."
- Traceback ID is logged to the server along with the traceback which
  caused the 500: `docker-compose logs fastapi | grep '<traceback_id>'`
- If `options.traceback` is set to `1`, traceback is displayed in
  the new 500.html template.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2022-01-09 23:10:02 -08:00
..
html feat(python): catch all exceptions thrown through fastapi route paths 2022-01-09 23:10:02 -08:00
lib RPC: add deprecation warning for v1-v4 usage 2021-08-31 17:18:10 -07:00
locale Add dummy "web/locale/" directory. 2011-04-10 15:40:49 +02:00
template Add archweb typeahead implementation 2021-06-25 17:08:54 +02:00