summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/stanzabase.py
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-07-26 18:13:54 -0700
committerNathan Fritz <nathan@andyet.net>2010-07-26 18:13:54 -0700
commit2b6454786ace5f9cc585fd30f1337809f2107bf8 (patch)
tree585768e41d2f59463c9f79592370a4c60f8a134a /sleekxmpp/xmlstream/stanzabase.py
parenta349a2a317a6ca7152e0adb21d5fabbfd632ebaf (diff)
parentc8989c04f3675235e3ae730cb240e2154b5d9e76 (diff)
downloadslixmpp-2b6454786ace5f9cc585fd30f1337809f2107bf8.tar.gz
slixmpp-2b6454786ace5f9cc585fd30f1337809f2107bf8.tar.bz2
slixmpp-2b6454786ace5f9cc585fd30f1337809f2107bf8.tar.xz
slixmpp-2b6454786ace5f9cc585fd30f1337809f2107bf8.zip
Merge branch 'experimental' of git@github.com:fritzy/SleekXMPP into experimental
Diffstat (limited to 'sleekxmpp/xmlstream/stanzabase.py')
-rw-r--r--sleekxmpp/xmlstream/stanzabase.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sleekxmpp/xmlstream/stanzabase.py b/sleekxmpp/xmlstream/stanzabase.py
index 8af90a0f..b8c80ffa 100644
--- a/sleekxmpp/xmlstream/stanzabase.py
+++ b/sleekxmpp/xmlstream/stanzabase.py
@@ -7,7 +7,6 @@
"""
from xml.etree import cElementTree as ET
import logging
-import traceback
import sys
import weakref
import copy
@@ -379,7 +378,7 @@ class StanzaBase(ElementBase):
pass
def exception(self, e):
- logging.error(traceback.format_tb(e))
+ logging.exception('Error handling {%s}%s stanza' % (self.namespace, self.name))
def send(self):
self.stream.sendRaw(self.__str__())