Re:Try Three Times
by mattexx on Friday March 06, 2015 @12:53PM
(#9158391)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.