Commit c76a0065 authored by Julien Cristau's avatar Julien Cristau
Browse files

[views] don't log exceptions caused by a client sending us bogus data

parent 71ecb3bf044e
...@@ -102,8 +102,6 @@ class RqlIOController(Controller): ...@@ -102,8 +102,6 @@ class RqlIOController(Controller):
args = json.load(self._cw.form['json'][1]) args = json.load(self._cw.form['json'][1])
except ValueError as exc: except ValueError as exc:
self.exception('error while decoding json arguments for '
'rqlio: %s', exc)
raise RemoteCallFailed(exc_message(exc, self._cw.encoding)) raise RemoteCallFailed(exc_message(exc, self._cw.encoding))
if not isinstance(args, (list, tuple)): if not isinstance(args, (list, tuple)):
args = (args,) args = (args,)
...@@ -122,8 +120,6 @@ class RqlIOController(Controller): ...@@ -122,8 +120,6 @@ class RqlIOController(Controller):
except (RemoteCallFailed, DirectResponse): except (RemoteCallFailed, DirectResponse):
raise raise
except Exception as exc: except Exception as exc:
self.exception('an exception occurred while calling rqlio(%s): %s',
args, exc)
raise RemoteCallFailed(exc_message(exc, self._cw.encoding)) raise RemoteCallFailed(exc_message(exc, self._cw.encoding))
if result is None: if result is None:
return '' return ''
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment