diff --git a/lib/services/db.js b/lib/services/db.js index faf42c8b..8bc3bd47 100644 --- a/lib/services/db.js +++ b/lib/services/db.js @@ -122,6 +122,10 @@ DB.prototype.start = function(callback) { } else { self.getBlock(metadata.tip, function(err, tip) { if(err) { + log.warn( + 'Database is in an inconsistent state, a reindex is needed. Could not get current tip:', + metadata.tip + ); return callback(err); } self.tip = tip;