more verbose error

This commit is contained in:
Christian Mehlmauer
2016-04-27 15:19:07 +02:00
parent bd7a493f1c
commit 75b8c303e2

View File

@@ -101,7 +101,7 @@ class DbUpdater
puts " [i] Database File Checksum : #{db_checksum}" if verbose
unless dl_checksum == db_checksum
fail "#{filename}: checksums do not match"
fail "#{filename}: checksums do not match (local: #{dl_checksum} remote: #{db_checksum})"
end
rescue => e
puts ' [i] Restoring Backup due to error' if verbose