alex-oleshkevich / starception

Beautiful exception page for Starlette apps.
MIT License
96 stars 6 forks source link

Safely convert value to string #31

Closed alex-oleshkevich closed 1 year ago

alex-oleshkevich commented 1 year ago

Sometimes values stored in request.state or in request.app.state may raise exceptions during template rendering crashing the starception itself. This fix properly renders them.