Commit 1e78a1d5 authored by Łukasz Nowak's avatar Łukasz Nowak

Hide more errors from client.

parent 3d598aa0
......@@ -73,7 +73,7 @@ def convertToREST(function):
"""
try:
retval = function(self, *args, **kwd)
except ValueError, log:
except (ValueError, AttributeError), log:
LOG('SlapTool', INFO, 'Converting ValueError to NotFound, real error:',
error=True)
raise NotFound(log)
......
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