mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-11-22 03:00:25 +00:00
Merge pull request #26 from sprockets/update-log-level
Change log level on decode failure log
This commit is contained in:
commit
1d9ccad27c
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ class ContentMixin:
|
|||
try:
|
||||
self._request_body = handler.from_bytes(self.request.body)
|
||||
except Exception:
|
||||
self._logger.exception('failed to decode request body')
|
||||
self._logger.error('failed to decode request body')
|
||||
raise web.HTTPError(400, 'failed to decode request')
|
||||
|
||||
return self._request_body
|
||||
|
|
Loading…
Reference in a new issue