DEV: Include more information when reporting search indexing failures.

This commit is contained in:
Guo Xiang Tan
2020-08-21 11:02:00 +08:00
parent aae9e6e5fd
commit d12d8fb7fd
+2 -1
View File
@@ -96,7 +96,8 @@ class SearchIndexer
# instead in the post processor
Discourse.warn_exception(
e,
message: "Unexpected error while indexing #{table} for search"
message: "Unexpected error while indexing #{table} for search",
env: { id: id }
)
end
end