Do not print a message on the screen on error

This commit is contained in:
Florent Le Coz 2011-08-16 14:53:29 +02:00
parent 84fc61eec4
commit d917ec5ea2

View file

@ -53,7 +53,7 @@ def get_body_from_message_stanza(message):
try: try:
shell_body = xhtml_code_to_shell_colors(xhtml_body) shell_body = xhtml_code_to_shell_colors(xhtml_body)
except OSError: except OSError:
log.error('html parsing failed') log.debug('html parsing failed')
else: else:
return shell_colors_to_poezio_colors(shell_body) return shell_colors_to_poezio_colors(shell_body)
return message['body'] return message['body']