local-ch / lhc

🚀 Advanced HTTP Client for Ruby. Fueled with interceptors.
GNU General Public License v3.0
43 stars 1 forks source link

Fix nested base data response accessors #183

Closed 10xSebastian closed 4 years ago

10xSebastian commented 4 years ago

When error response bodies where containing a "response" key, lhc's internal Data::Base was running into a SystemStackError: stack level too deep error (e.g. https://rollbar.com/local.ch/opm/items/83972/occurrences/133328495053/).

This PR fixes that issue.