summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-08-28 16:17:24 +0200
committermathieui <mathieui@mathieui.net>2016-08-28 16:17:51 +0200
commit50d6edc30b13dc70c4970773dbae4305263b641f (patch)
tree74fdacdf0f0752347c5155af2020d8a6d84c3a50
parent50610a0684af68380b78c7bfcf2fc01ea379ace4 (diff)
downloadpoezio-50d6edc30b13dc70c4970773dbae4305263b641f.tar.gz
poezio-50d6edc30b13dc70c4970773dbae4305263b641f.tar.bz2
poezio-50d6edc30b13dc70c4970773dbae4305263b641f.tar.xz
poezio-50d6edc30b13dc70c4970773dbae4305263b641f.zip
Fix a traceback on malformed logs
-rw-r--r--poezio/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/logger.py b/poezio/logger.py
index c9ee525d..a694d1d2 100644
--- a/poezio/logger.py
+++ b/poezio/logger.py
@@ -188,7 +188,7 @@ class Logger(object):
log_item = parse_message_line(lines[idx])
idx += 1
if not isinstance(log_item, LogItem):
- log.debug('wrong log format? %s', tup)
+ log.debug('wrong log format? %s', log_item)
continue
message = {'lines': [],
'history': True,