Fixed log prefix.
This commit is contained in:
parent
7e3738aaa4
commit
ff727b8413
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue