Skip to content
Snippets Groups Projects
Commit 7a599311 authored by stvn's avatar stvn
Browse files

Merge PR #26050 debug/search/indexing

* Commits:
  Increase logging verbosity on update_search_index task
parents a44091e7 a40feee9
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,13 @@ def update_search_index(course_id, triggered_time_isoformat):
CoursewareSearchIndexer.index(modulestore(), course_key, triggered_at=(_parse_time(triggered_time_isoformat)))
except SearchIndexingError as exc:
LOGGER.error(u'Search indexing error for complete course %s - %s', course_id, text_type(exc))
error_list = exc.error_list
LOGGER.error(
u"Search indexing error for complete course %s - %s - %s",
course_id,
text_type(exc),
error_list,
)
else:
LOGGER.debug(u'Search indexing successful for complete course %s', course_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment