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 f5e71dc commit e43a0a6Copy full SHA for e43a0a6
fluent/handler.py
@@ -47,7 +47,7 @@ def format(self, record):
47
def _structuring(self, data, msg):
48
if isinstance(msg, dict):
49
self._add_dic(data, msg)
50
- elif isinstance(msg, str):
+ elif isinstance(msg, basestring):
51
try:
52
self._add_dic(data, json.loads(str(msg)))
53
except (ValueError, json.JSONDecodeError):
0 commit comments