Improve log message for discovery of unsafe paths

This commit is contained in:
Unrud 2017-06-16 23:11:43 +02:00
parent 67669bd690
commit 73a73bb0a5

View File

@ -647,7 +647,7 @@ class Collection(BaseCollection):
filesystem_path = path_to_filesystem(folder, sane_path)
except ValueError as e:
# Path is unsafe
cls.logger.debug("Collection with unsafe path %r requested: %s",
cls.logger.debug("Unsafe path %r requested from storage: %s",
sane_path, e, exc_info=True)
return