local-ch / lhc

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

Fix issue with parameter scrubbing #203

Closed ryabrody closed 3 years ago

ryabrody commented 3 years ago

When a request url did include a parmater which did not match any provided parameter to be scrubbed, then the app ran into:

expected LHC::NotFound, got #<NoMethodError: undefined method `[]' for nil:NilClass>

This PR fixes that.