Skip to content
Snippets Groups Projects
Commit 2c54c369 authored by Vincent Texier's avatar Vincent Texier
Browse files

fix crash when no identity found

parent 26173b11
No related branches found
No related tags found
1 merge request!409fix some crashes
...@@ -246,7 +246,7 @@ class Identity(QObject): ...@@ -246,7 +246,7 @@ class Identity(QObject):
if person_uid == self.uid: if person_uid == self.uid:
return True return True
except errors.UcoinError as e: except errors.UcoinError as e:
if e.ucode in (errors.NO_MATCHING_IDENTITY): if e.ucode in (errors.NO_MATCHING_IDENTITY, errors.NO_MEMBER_MATCHING_PUB_OR_UID):
logging.debug("Lookup error : {0}".format(str(e))) logging.debug("Lookup error : {0}".format(str(e)))
except NoPeerAvailable as e: except NoPeerAvailable as e:
logging.debug(str(e)) logging.debug(str(e))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment