diff --git a/lib/search_index_backend.rb b/lib/search_index_backend.rb index 7c5e26f33..fa3efd36d 100644 --- a/lib/search_index_backend.rb +++ b/lib/search_index_backend.rb @@ -612,6 +612,8 @@ return true if backend is configured 'Check the response and payload for detailed information: ' end - "#{prefix} #{message}#{suffix}" + result = "#{prefix} #{message}#{suffix}" + Rails.logger.error result.first(40_000) + result end end