diff options
author | lovetox <philipp@hoerist.com> | 2020-09-26 23:11:36 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-09-26 23:11:36 +0300 |
commit | 761420434d34c379a4186cd90bd192754f350e26 (patch) | |
tree | db8c3bb38bd0ba62989dc8909f237a031b692fad /nbxmpp | |
parent | 854caebc7a441854f79be39da5ad8b2eaaf9dfb7 (diff) |
EntityCaps: Add more logging output on invalid presence
Diffstat (limited to 'nbxmpp')
-rw-r--r-- | nbxmpp/modules/entity_caps.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nbxmpp/modules/entity_caps.py b/nbxmpp/modules/entity_caps.py index 46ba26a..791319b 100644 --- a/nbxmpp/modules/entity_caps.py +++ b/nbxmpp/modules/entity_caps.py @@ -82,16 +82,19 @@ class EntityCaps(BaseModule): if hash_algo != 'sha-1': self._log.warning('Unsupported hashing algorithm used: %s', hash_algo) + self._log.warning(stanza) return node = caps.getAttr('node') if not node: self._log.warning('node attribute missing') + self._log.warning(stanza) return ver = caps.getAttr('ver') if not ver: self._log.warning('ver attribute missing') + self._log.warning(stanza) return properties.entity_caps = EntityCapsData( |