mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-12-12 23:26:12 -05:00
Trace exception on public key load failure
This commit is contained in:
parent
76dd50a060
commit
d5a8e4b056
1 changed files with 1 additions and 0 deletions
|
|
@ -639,6 +639,7 @@ class Identity:
|
||||||
self.update_hashes()
|
self.update_hashes()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
RNS.log("Error while loading public key, the contained exception was: "+str(e), RNS.LOG_ERROR)
|
RNS.log("Error while loading public key, the contained exception was: "+str(e), RNS.LOG_ERROR)
|
||||||
|
RNS.trace_exception(e)
|
||||||
|
|
||||||
def update_hashes(self):
|
def update_hashes(self):
|
||||||
self.hash = Identity.truncated_hash(self.get_public_key())
|
self.hash = Identity.truncated_hash(self.get_public_key())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue