Skip to content

Commit

Permalink
Merge pull request #135 from rollbar/fix-log-handler-unicode-issue
Browse files Browse the repository at this point in the history
put record msg and args in history, remove message
  • Loading branch information
ezarowny authored Sep 22, 2016
2 parents 84ed98a + 6f2aa39 commit 9b73124
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollbar/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ def _add_history(self, record, payload_data):

def _build_history_data(self, record):
data = {'timestamp': record.created,
'message': record.getMessage()}
'format': record.msg,
'args': record.args}

if hasattr(record, 'rollbar_uuid'):
data['uuid'] = record.rollbar_uuid
Expand Down

0 comments on commit 9b73124

Please sign in to comment.