diff --git a/app/services/search_indexer.rb b/app/services/search_indexer.rb index 3cf2ff4550d..93a4c7bc6b9 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