Improved logging message.
This commit is contained in:
parent
fde8d11b5f
commit
fbb7161e6b
1 changed files with 2 additions and 2 deletions
|
@ -133,9 +133,9 @@ reload search index with full data
|
||||||
begin
|
begin
|
||||||
item.search_index_update_backend
|
item.search_index_update_backend
|
||||||
rescue => e
|
rescue => e
|
||||||
logger.error "Unable to send #{item.class}.find(#{item.id}) backend: #{e.inspect}"
|
logger.error "Unable to send #{item.class}.find(#{item.id}).search_index_update_backend backend: #{e.inspect}"
|
||||||
tolerance_count += 1
|
tolerance_count += 1
|
||||||
raise "Unable to send #{item.class}.find(#{item.id}) backend: #{e.inspect}" if tolerance_count == tolerance
|
raise "Unable to send #{item.class}.find(#{item.id}).search_index_update_backend backend: #{e.inspect}" if tolerance_count == tolerance
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue