Y
Hacker News
new
|
ask
|
show
|
jobs
by
mattexx
4122 days ago
I agree that using exceptions as flow control is b-a-d. This is an easy fix in this case, set `:throw-exceptions false` in your http call and check the status code, rather than catch exceptions.