Start without knownnodes if JSON got corrupted
This commit is contained in:
parent
5e72fdba17
commit
b499e1bd22
|
@ -79,7 +79,7 @@ def readKnownNodes():
|
|||
except ValueError:
|
||||
source.seek(0)
|
||||
pickle_deserialize_old_knownnodes(source)
|
||||
except (IOError, OSError):
|
||||
except (IOError, OSError, KeyError):
|
||||
logger.debug(
|
||||
'Failed to read nodes from knownnodes.dat', exc_info=True)
|
||||
|
||||
|
|
Reference in New Issue
Block a user