Merge pull request #3168 from matrix-org/rav/fix_logformatter

Fix incorrect reference to StringIO
This commit is contained in:
Richard van der Hoff 2018-05-02 10:03:36 +01:00 committed by GitHub
commit a8d8bf92e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 1 deletions

View file

@ -32,7 +32,7 @@ class LogFormatter(logging.Formatter):
super(LogFormatter, self).__init__(*args, **kwargs)
def formatException(self, ei):
sio = StringIO.StringIO()
sio = StringIO()
(typ, val, tb) = ei
# log the stack above the exception capture point if possible, but