diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-05-02 10:03:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 10:03:36 +0100 |
commit | a8d8bf92e05d47bb290b1edce7e3990ff4a2a260 (patch) | |
tree | b7b59d07feeaa253d62803b682f8e3e81e305504 /synapse | |
parent | missing word :| (diff) | |
parent | Fix incorrect reference to StringIO (diff) | |
download | synapse-a8d8bf92e05d47bb290b1edce7e3990ff4a2a260.tar.xz |
Merge pull request #3168 from matrix-org/rav/fix_logformatter
Fix incorrect reference to StringIO
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/util/logformatter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/logformatter.py b/synapse/util/logformatter.py index 59ab3c6968..3e42868ea9 100644 --- a/synapse/util/logformatter.py +++ b/synapse/util/logformatter.py @@ -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 |