Skip to content
Snippets Groups Projects
Commit 6375bd3e authored by Mark Haines's avatar Mark Haines
Browse files

SYN-282: Don't log tracebacks for client errors

parent 5806d524
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ class BaseMediaResource(Resource): ...@@ -54,7 +54,7 @@ class BaseMediaResource(Resource):
try: try:
yield request_handler(self, request) yield request_handler(self, request)
except CodeMessageException as e: except CodeMessageException as e:
logger.exception(e) logger.info("Responding with error: %r", e)
respond_with_json( respond_with_json(
request, e.code, cs_exception(e), send_cors=True request, e.code, cs_exception(e), send_cors=True
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment