From 695877ba2b9f4f3fd74778ab701fff92b70a12e0 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 4 Apr 2014 00:25:46 +0200 Subject: Do not log correction errors in the error log anymore --- src/core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core.py b/src/core.py index 2e78005b..3c9f5077 100644 --- a/src/core.py +++ b/src/core.py @@ -3001,7 +3001,7 @@ class Core(object): nickname=remote_nick) return True except CorrectionError: - log.error('Unable to correct a message', exc_info=True) + log.debug('Unable to correct a message', exc_info=True) return False if not try_modify(): @@ -3223,7 +3223,7 @@ class Core(object): self.events.trigger('highlight', message, tab) replaced = True except CorrectionError: - log.error('Unable to correct a message', exc_info=True) + log.debug('Unable to correct a message', exc_info=True) if not replaced and tab.add_message(body, date, nick_from, history=delayed, identifier=message['id'], jid=message['from'], typ=1): self.events.trigger('highlight', message, tab) @@ -3287,7 +3287,7 @@ class Core(object): nickname=nick_from) replaced = True except CorrectionError: - log.error('Unable to correct a message', exc_info=True) + log.debug('Unable to correct a message', exc_info=True) if not replaced: tab.add_message(body, time=None, nickname=nick_from, forced_user=user, -- cgit v1.2.3