mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fixed the bug, but forgot to commit.
This commit is contained in:
parent
40a2e07956
commit
3606f2ec9e
@ -106,9 +106,7 @@ class IrcFormatter(log.Formatter):
|
||||
def formatException(self, (E, e, tb)):
|
||||
L = [utils.exnToString(e), '::']
|
||||
frames = utils.stackTrace(frame=tb.tb_frame).split()
|
||||
frames.reverse()
|
||||
L.extend(frames)
|
||||
frames.reverse() # Back to front, please.
|
||||
del tb
|
||||
while sum(imap(len, L)) > 350:
|
||||
L.pop()
|
||||
|
Loading…
Reference in New Issue
Block a user