Fix for reindex logger error
This commit is contained in:
@@ -365,7 +365,7 @@ namespace :ribica do
|
||||
begin
|
||||
es_client.indices.delete index: 'ribica'
|
||||
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
|
||||
|
||||
# now index items
|
||||
|
||||
Reference in New Issue
Block a user