Skip to content
Snippets Groups Projects
Commit 2bb1c250 authored by inso's avatar inso
Browse files

Fix crash in request_peers

parent bcd615bd
No related branches found
No related tags found
No related merge requests found
......@@ -602,7 +602,7 @@ class Node(QObject):
leaf=leaf_hash))
self.state = Node.OFFLINE
self.changed.emit()
except (ClientError, gaierror, TimeoutError, DisconnectedError) as e:
except (ClientError, gaierror, TimeoutError, DisconnectedError, ValueError) as e:
logging.debug("{0} : {1}".format(type(e).__name__, self.pubkey[:5]))
self.state = Node.OFFLINE
except jsonschema.ValidationError as e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment