Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/verifier/hathifiles_database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def verify_hathifiles_database_log
next unless File.exist?(d.path)

if !self.class.has_log?(hathifile: d.path)
error message: "missing hf_log: no entry for #{d.path}"
recent = Services[:database][:hf_log].order(Sequel.desc(:time)).limit(5).all
error message: "missing hf_log: no entry for #{d.path} (most recent: #{recent})"
end
end
end
Expand Down
Loading