MCPcopy Create free account
hub / github.com/hunvreus/devpush / handle_500

Function handle_500

app/main.py:195–198  ·  view source on GitHub ↗
(request: Request, exc: HTTPException)

Source from the content-addressed store, hash-verified

193
194@app.exception_handler(500)
195async def handle_500(request: Request, exc: HTTPException):
196 return TemplateResponse(
197 request=request, name="error/500.html", status_code=500, context={}
198 )

Callers

nothing calls this directly

Calls 1

TemplateResponseFunction · 0.90

Tested by

no test coverage detected