Commit 13b34d4c by rfkelly0

catch and ignore TypeError in rewrite_errors

parent e316f4b4
...@@ -26,7 +26,7 @@ def rewrite_errors(func): ...@@ -26,7 +26,7 @@ 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, ValueError): except (AttributeError, ValueError, TypeError):
raise e 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