local-ch / lhc

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

Take in considarition error inheritance #97

Closed 10xSebastian closed 7 years ago

10xSebastian commented 7 years ago

PATCH

LHC ignored_errors has not been taken in consideration inheritance of errors.

Before

LHC.get('http://local.ch', ignored_errors: [LHC::Error])
# returned 404
# has been raising

Now

# not raising anymore