diff --git a/lib/verifier/hathifiles_database.rb b/lib/verifier/hathifiles_database.rb index 6753c4a..c8d6fdc 100644 --- a/lib/verifier/hathifiles_database.rb +++ b/lib/verifier/hathifiles_database.rb @@ -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