diff src/plugins/plugin_xep_0115.py @ 1246:8b891f9be183

core, plugins: improve a bit some log messages
author souliane <souliane@mailoo.org>
date Sat, 18 Oct 2014 16:28:37 +0200
parents c3884a63efde
children be3a301540c0
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0115.py	Sun Oct 19 12:31:28 2014 +0200
+++ b/src/plugins/plugin_xep_0115.py	Sat Oct 18 16:28:37 2014 +0200
@@ -140,7 +140,7 @@
             c_hash = c_elem['hash']
             c_node = c_elem['node']
         except KeyError:
-            log.warning(_('Received invalid capabilities tag'))
+            log.warning(_('Received invalid capabilities tag: %s') % c_elem.toXml())
             return
 
         if c_ver in self.host.memory.disco.hashes: