Merge pull request #293 from matrix-org/markjh/remove_spamy_error_logging

Remove log line that was generated whenever an error was created.
pull/4/merge
Mark Haines 9 years ago
commit fac990a656
  1. 1
      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

Loading…
Cancel
Save