diff --git a/back-office/lib/tasks/ribica.rake b/back-office/lib/tasks/ribica.rake index b0a3b38..47ca5dc 100644 --- a/back-office/lib/tasks/ribica.rake +++ b/back-office/lib/tasks/ribica.rake @@ -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