Log collection path without leading and trailing /

This commit is contained in:
Unrud 2017-08-01 17:13:05 +02:00
parent aac472960f
commit d72455fff6

View File

@ -461,9 +461,8 @@ class Application:
try:
self.Collection.create_collection(principal_path)
except ValueError as e:
self.logger.warning(
"Failed to create principal collection %r: %s",
principal_path, e)
self.logger.warning("Failed to create principal "
"collection %r: %s", user, e)
is_authenticated = False
else:
self.logger.warning("Access to principal path %r denied by "