diff --git a/app/services/spotlight/etl/solr_loader.rb b/app/services/spotlight/etl/solr_loader.rb index 08631d58a..658300403 100644 --- a/app/services/spotlight/etl/solr_loader.rb +++ b/app/services/spotlight/etl/solr_loader.rb @@ -53,7 +53,7 @@ def send_one(document, pipeline) data: [document].to_json, headers: { 'Content-Type' => 'application/json' } rescue StandardError => e - pipeline&.on_error(self, e, document.to_json) + pipeline&.on_error(e, document.to_json) end def blacklight_solr