Fixed log prefix.

This commit is contained in:
Martin Edenhofer 2016-06-14 13:44:16 +02:00
parent 7e3738aaa4
commit ff727b8413

View file

@ -8,7 +8,7 @@ class ApplicationModel::BackgroundJobSearchIndex
def perform def perform
record = Object.const_get(@object).lookup(id: @o_id) record = Object.const_get(@object).lookup(id: @o_id)
if !record if !record
Rails.logger.notice "Can't index #{@object}.find(#{@o_id}), no such record found" Rails.logger.info "Can't index #{@object}.find(#{@o_id}), no such record found"
return return
end end
record.search_index_update_backend record.search_index_update_backend