lostisland/faraday

Requests can no longer be converted to simple JSON

Open

#535 opened on Oct 13, 2015

View on GitHub
 (8 comments) (0 reactions) (0 assignees)Ruby (997 forks)batch import
featurehelp wanted

Repository metrics

Stars
 (5,861 stars)
PR merge metrics
 (Avg merge 53m) (3 merged PRs in 30d)

Description

fba7ce503d2be7bd88229f95107559a14c98821c causes a stack too deep to occur when attempting to call to_json, due to the nested env/request nature of the objects.

Some context: We have been logging the json version of faraday response objects for verification purposes when performing sensitive data changes through faraday requests; This is no longer possible.

Contributor guide