Log collection path without leading and trailing /
This commit is contained in:
parent
aac472960f
commit
d72455fff6
@ -461,9 +461,8 @@ class Application:
|
|||||||
try:
|
try:
|
||||||
self.Collection.create_collection(principal_path)
|
self.Collection.create_collection(principal_path)
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
self.logger.warning(
|
self.logger.warning("Failed to create principal "
|
||||||
"Failed to create principal collection %r: %s",
|
"collection %r: %s", user, e)
|
||||||
principal_path, e)
|
|
||||||
is_authenticated = False
|
is_authenticated = False
|
||||||
else:
|
else:
|
||||||
self.logger.warning("Access to principal path %r denied by "
|
self.logger.warning("Access to principal path %r denied by "
|
||||||
|
Loading…
Reference in New Issue
Block a user