mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 07:05:16 +08:00
DEV: Include more information when reporting search indexing failures.
This commit is contained in:
parent
aae9e6e5fd
commit
d12d8fb7fd
|
@ -96,7 +96,8 @@ class SearchIndexer
|
||||||
# instead in the post processor
|
# instead in the post processor
|
||||||
Discourse.warn_exception(
|
Discourse.warn_exception(
|
||||||
e,
|
e,
|
||||||
message: "Unexpected error while indexing #{table} for search"
|
message: "Unexpected error while indexing #{table} for search",
|
||||||
|
env: { id: id }
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user