We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d45e765 commit 130be83Copy full SHA for 130be83
fluent/handler.py
@@ -52,7 +52,7 @@ def format(self, record):
52
def _structuring(self, data, msg):
53
if isinstance(msg, dict):
54
self._add_dic(data, msg)
55
- elif isinstance(msg, str):
+ elif isinstance(msg, basestring):
56
try:
57
self._add_dic(data, json.loads(str(msg)))
58
except ValueError:
0 commit comments