--- a/instance.py Sun Jan 21 01:14:06 2018 +0000 +++ b/instance.py Sun Jan 21 01:15:01 2018 +0000 @@ -89,7 +89,7 @@ res['type']='UNKNOWN' return res except: - logging.debug('JSON parse failed on: "%s"' % line) + logging.debug('JSON parse failed on: "%s"' % str(line)) errmsg=line for line in iter(stream.readline, b''):