summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-04 00:25:46 +0200
committermathieui <mathieui@mathieui.net>2014-04-04 00:25:46 +0200
commit695877ba2b9f4f3fd74778ab701fff92b70a12e0 (patch)
treed79fd88c7656f7f6b15c26b31e9f32f750ef5eb7
parentca0950db07ff5006ba760e829f2fa6a7c2f8ea41 (diff)
downloadpoezio-695877ba2b9f4f3fd74778ab701fff92b70a12e0.tar.gz
poezio-695877ba2b9f4f3fd74778ab701fff92b70a12e0.tar.bz2
poezio-695877ba2b9f4f3fd74778ab701fff92b70a12e0.tar.xz
poezio-695877ba2b9f4f3fd74778ab701fff92b70a12e0.zip
Do not log correction errors in the error log anymore
-rw-r--r--src/core.py6
1 files 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,