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