debugging blocks

master
Kevin Froman 2018-01-28 16:29:16 -06:00
parent 7533fda399
commit d1faea2519
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 4 additions and 0 deletions

View File

@ -95,6 +95,10 @@ class OnionrCommunicate:
else: else:
logger.debug('Fetching hash from ' + i + ', ' + lastDB + ' last known') logger.debug('Fetching hash from ' + i + ', ' + lastDB + ' last known')
currentDB = self.performGet('getDBHash', i) currentDB = self.performGet('getDBHash', i)
if currentDB != False:
logger.debug(i + " hash db (from request): " + currentDB)
else:
logger.warn("Error getting hash db status for " + i)
if currentDB != False: if currentDB != False:
if lastDB != currentDB: if lastDB != currentDB:
logger.debug('Fetching hash from ' + i + ' - ' + currentDB + ' current hash.') logger.debug('Fetching hash from ' + i + ' - ' + currentDB + ' current hash.')