mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-11-25 03:00:24 +00:00
9ff5ca3781
If there is no transcoder for the default content type, sending a response would fail with a "500 Internal Server Error" due to an *unhandled* KeyError. This commit catches the KeyError and produces an explicit "500 Internal Server Error" with an appropriate error message being logged. |
||
---|---|---|
.. | ||
__init__.py | ||
content.py | ||
handlers.py | ||
py.typed | ||
transcoders.py | ||
type_info.py |