Skip to content

Commit

Permalink
better messaging for importing dois. datacite/datacite#965
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 19, 2020
1 parent 30b600d commit d6f2e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def self.import_dois_not_indexed(query: nil)

# loop through repositories that have DOIs not indexed in Elasticsearch
table.each do |row|
Rails.logger.info "Indexing missing DOIs for repository #{row["Repository ID"]}."
Rails.logger.info "Indexing #{row["DOIs in Database"]} DOIs (#{row["DOIs missing"]} missing) for repository #{row["Repository ID"]}."
DoiNotIndexedJob.perform_later(row["Repository ID"])
end
end
Expand Down

0 comments on commit d6f2e4a

Please sign in to comment.