Update by natay on Mon Jul 15 09:37:36 EDT 2019 from H7-D25RF0PLGQ18
@@ -34,7 +34,7 @@ def update_index(*args):
search.index_posts(posts=posts)
logger.info(f"Updated search index with {len(posts)} posts.")
except Exception as exc:
- logger.error(f'Error updating: {exc}')
+ logger.error(f'Error updating index: {exc}')
Post.objects.filter(id__in=posts.values('id')).update(indexed=False)
return
