summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-10-06 16:10:19 +0100
committerMark Haines <mark.haines@matrix.org>2015-10-06 16:10:19 +0100
commit93cc60e80501c4d979c4c43dc5592e702ddfb358 (patch)
treef04016c9bf32486f47b433a7b5ad270cc3b26112
parentExplicitly add Create event as auth event (diff)
downloadsynapse-93cc60e80501c4d979c4c43dc5592e702ddfb358.tar.xz
Remove log line that was generated whenever an error was created. We are now creating error objects that aren't raised so it's probably a bit too confusing to keep
-rw-r--r--synapse/api/errors.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index ee3045268f..d1356eb4d9 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -47,7 +47,6 @@ class CodeMessageException(RuntimeError):
     """An exception with integer code and message string attributes."""
 
     def __init__(self, code, msg):
-        logger.info("%s: %s, %s", type(self).__name__, code, msg)
         super(CodeMessageException, self).__init__("%d: %s" % (code, msg))
         self.code = code
         self.msg = msg