mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-03 23:44:12 -04:00
Merge pull request #3168 from matrix-org/rav/fix_logformatter
Fix incorrect reference to StringIO
This commit is contained in:
commit
a8d8bf92e0
2 changed files with 39 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue