From: Laurent Bachelier Date: Tue, 26 Nov 2013 23:24:51 +0000 (+0100) Subject: Show traceback on higher debug levels X-Git-Tag: 2.2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7a3fb89091e5767248b0926216d3004fda3e0d9c;p=irker.git Show traceback on higher debug levels Signed-off-by: Eric S. Raymond --- diff --git a/irkerd b/irkerd index 0453a0a..9693e6d 100755 --- a/irkerd +++ b/irkerd @@ -540,6 +540,7 @@ class Connection: self.connection.privmsg(channel, segment) except ValueError as err: self.irker.irc.debug(1, "irclib rejected a message to %s on %s because: %s" % (channel, self.servername, str(err))) + self.irker.irc.debug(50, err.format_exc()) time.sleep(ANTI_FLOOD_DELAY) self.last_xmit = self.channels_joined[channel] = time.time() self.irker.irc.debug(1, "XMIT_TTL bump (%s transmission) at %s" % (self.servername, time.asctime()))