mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-11-28 19:29:51 +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. |
||
---|---|---|
.. | ||
mediatype | ||
__init__.py |