DEV: Include more information when reporting search indexing failures.

DEV: Include more information when reporting search indexing failures.

diff --git a/app/services/search_indexer.rb b/app/services/search_indexer.rb
index 3cf2ff4..93a4c7b 100644
--- a/app/services/search_indexer.rb
+++ b/app/services/search_indexer.rb
@@ -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

GitHub sha: d12d8fb7