From 7a3fb89091e5767248b0926216d3004fda3e0d9c Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Wed, 27 Nov 2013 00:24:51 +0100 Subject: [PATCH] Show traceback on higher debug levels Signed-off-by: Eric S. Raymond --- irkerd | 1 + 1 file changed, 1 insertion(+) 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())) -- 2.26.2