Skip to content

Commit

Permalink
added explicit type cast to string to FluentRecordFormatter for `ex…
Browse files Browse the repository at this point in the history
…clude_attrs` case.

Signed-off-by: Ihor Liubymov <infunt@gmail.com>
  • Loading branch information
mastak committed Apr 13, 2018
1 parent 268f577 commit 5538eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluent/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _format_by_exclusion(self, record):
data = {}
for key, value in record.__dict__.items():
if key not in self._exc_attrs:
data[key] = value
data[key] = str(value)
return data

def _format_by_dict(self, record):
Expand Down

0 comments on commit 5538eb5

Please sign in to comment.