Closed intentionally-left-nil closed 5 years ago
Thanks for the issue and PR! request/5
is designed to not raise exceptions, though, so rather than merging this PR, I'll add a patch to return a response of {:error, "URL cannot be nil"}
or something like that.
Instead of returning an error struct when passing in a
nil
url, this PR causes a functionclause error to be thrown, leading to quicker debugging: