8000 Merge pull request #16 from jbasko/master · socrateslee/fluent-logger-python@7d652d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d652d2

Browse files
committed
Merge pull request fluent#16 from jbasko/master
AttributeError: 'module' object has no attribute 'JSONDecodeError'
2 parents 25507da + e35751b commit 7d652d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluent/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _structuring(self, data, msg):
3838
elif isinstance(msg, str):
3939
try:
4040
self._add_dic(data, json.loads(str(msg)))
41-
except (ValueError, json.JSONDecodeError):
41+
except ValueError:
4242
pass
4343

4444
@staticmethod

0 commit comments

Comments
 (0)
0