Commit e316f4b4 by rfkelly0

fswrap.rewrite_errors: catch and silence ValueErrors raised by the rewrite

parent 8c81ab30
......@@ -26,8 +26,8 @@ def rewrite_errors(func):
except ResourceError, e:
try:
e.path = self._decode(e.path)
except AttributeError:
pass
except (AttributeError, ValueError):
raise e
raise
return wrapper
......
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