Log search backend errors also to application log.
This commit is contained in:
parent
6263762ac4
commit
f2c7ced74d
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue