Skip to content

Commit

Permalink
Merge pull request #20 from Affirm/fix-werkzeug-body
Browse files Browse the repository at this point in the history
non-string requests bodies were causing an api error
  • Loading branch information
coryvirok committed Apr 15, 2014
2 parents ecd902b + cda4191 commit b19e63e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollbar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def _build_werkzeug_request_data(request):
}

if request.get_json():
request_data['body'] = _scrub_request_params(request.json)
request_data['body'] = json.dumps(_scrub_request_params(request.json))

return request_data

Expand Down

0 comments on commit b19e63e

Please sign in to comment.