maces / fastapi-htmx

Extension for FastAPI to make HTMX easier to use.
GNU Lesser General Public License v3.0
229 stars 9 forks source link

Switch from an Exception with a 500er status code to a 400er status code #10

Closed maces closed 8 months ago

maces commented 9 months ago

See #9 for the motivation.

This returns a 400er status code instead of a 500er caused by an exception. The idea being to not confuse observability systems when such a request was made.