Commit b3b812b1 authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Fix logging exception

parent ba7c2e3a
......@@ -199,7 +199,7 @@ class OmemoState:
try:
key = self.handleWhisperMessage(sender_jid, sid, encrypted_key)
except (NoSessionException, InvalidMessageException) as e:
log.warning('No Session found ' + e.message)
log.warning(e)
log.warning('sender_jid => ' + str(sender_jid) + ' sid =>' +
str(sid))
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment