TRACE log when we receive and buffer a non-complete line
This commit is contained in:
parent
3d2acc2f61
commit
dceed3d439
1 changed files with 3 additions and 0 deletions
|
@ -224,7 +224,10 @@ class Server(IRCObject.Object):
|
|||
|
||||
data_lines = [line.strip(b"\r") for line in data.split(b"\n")]
|
||||
if data_lines[-1]:
|
||||
self.bot.log.trace("got non-complete line '%s', buffering.",
|
||||
[data_lines[-1]])
|
||||
self.read_buffer = data_lines[-1]
|
||||
|
||||
data_lines.pop(-1)
|
||||
decoded_lines = []
|
||||
|
||||
|
|
Loading…
Reference in a new issue