Elastic: search indexing logging tweaks

This commit is contained in:
2018-01-05 15:24:47 +01:00
parent 0b6969bf0c
commit f6cf8d29f0
3 changed files with 5 additions and 3 deletions

View File

@@ -126,7 +126,7 @@ def prepare_user_data(user_id: str, user=None) -> dict:
user = users_coll.find_one({'_id': user_oid})
if user is None:
log.warning('Unable to find user %s, not updating Algolia.', user_id)
log.warning('Unable to find user %s, not updating search index.', user_id)
return {}
user_roles = set(user.get('roles', ()))