Fix for reindex logger error
This commit is contained in:
@@ -365,7 +365,7 @@ namespace :ribica do
|
|||||||
begin
|
begin
|
||||||
es_client.indices.delete index: 'ribica'
|
es_client.indices.delete index: 'ribica'
|
||||||
rescue
|
rescue
|
||||||
logger.warn "Ribica index could not be deleted. Continuing with indexing operation..."
|
Rails.logger.warn "Ribica index could not be deleted. Continuing with indexing operation..."
|
||||||
end
|
end
|
||||||
|
|
||||||
# now index items
|
# now index items
|
||||||
|
|||||||
Reference in New Issue
Block a user