From d917ec5ea246283e64eb433069f373f39f8ed4d7 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 16 Aug 2011 14:53:29 +0200 Subject: [PATCH] Do not print a message on the screen on error --- src/xhtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xhtml.py b/src/xhtml.py index 16972b65..79c1b82a 100644 --- a/src/xhtml.py +++ b/src/xhtml.py @@ -53,7 +53,7 @@ def get_body_from_message_stanza(message): try: shell_body = xhtml_code_to_shell_colors(xhtml_body) except OSError: - log.error('html parsing failed') + log.debug('html parsing failed') else: return shell_colors_to_poezio_colors(shell_body) return message['body']