From 50d6edc30b13dc70c4970773dbae4305263b641f Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 28 Aug 2016 16:17:24 +0200 Subject: Fix a traceback on malformed logs --- poezio/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3