Commit 2de70884 by Calen Pennington

fixup! Minimize time spent with an open file when logging json timing messages

parent 857c4c0c
...@@ -123,7 +123,7 @@ class JsonFormatter(Formatter): ...@@ -123,7 +123,7 @@ class JsonFormatter(Formatter):
sort_keys=True, sort_keys=True,
) )
outfile.write('\n') outfile.write('\n')
except OSError: except Exception:
LOGGER.exception("Unable to write json timing log messages") LOGGER.exception("Unable to write json timing log messages")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment