Skip to content
Snippets Groups Projects
Commit 853d963f authored by inso's avatar inso
Browse files

Fix bug #485

parent d0936b84
No related branches found
No related tags found
No related merge requests found
......@@ -479,7 +479,7 @@ class Node(QObject):
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:
except (MalformedDocumentError, jsonschema.ValidationError) as e:
logging.debug(str(e))
logging.debug("Validation error : {0}".format(self.pubkey[:5]))
self.state = Node.CORRUPTED
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment